Constructor and Description |
---|
AWSEC2ComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
AWSEC2Client client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
com.google.common.base.Predicate<PlacementGroup> placementGroupDeleted,
com.google.common.base.Optional<ImageExtension> imageExtension,
GroupNamingConvention.Factory namingConvention,
boolean generateInstanceNames) |
AWSEC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
AWSEC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> |
AWSEC2BindComputeSuppliersByClass.defineImageSupplier() |
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
AWSEC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCache(RegionAndNameToImageSupplier supplier) |
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> |
AWSEC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
AWSEC2ComputeServiceContextModule.supplyNonParsingImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Image>> |
AWSEC2ComputeServiceContextModule.supplyNonParsingImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector) |
Constructor and Description |
---|
AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeMetadata.Status> instanceToNodeStatus,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Hardware>> hardware,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Method and Description |
---|---|
Iterable<Image> |
CallForImages.call() |
Set<? extends Image> |
AWSEC2ImageSupplier.get() |
Constructor and Description |
---|
AWSEC2ImageSupplier(com.google.common.base.Supplier<Set<String>> regions,
Map<String,String> queries,
String clusterRegions,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> cache,
CallForImages.Factory factory,
Set<String> clusterComputeIds,
com.google.common.util.concurrent.ListeningExecutorService userExecutor) |
Modifier and Type | Method and Description |
---|---|
Image |
BYONComputeServiceAdapter.getImage(String id) |
Modifier and Type | Method and Description |
---|---|
Iterable<Image> |
BYONComputeServiceAdapter.listImages() |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
CloudServersImageExtension.createImage(ImageTemplate template) |
Constructor and Description |
---|
CloudServersImageExtension(CloudServersClient client,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Location> location,
com.google.common.base.Predicate<AtomicReference<Image>> imageAvailablePredicate) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Image>> |
ServerToNodeMetadata.images |
Modifier and Type | Method and Description |
---|---|
Image |
CloudServersImageToImage.apply(Image from) |
Constructor and Description |
---|
CloudSigmaTemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwares,
com.google.common.base.Supplier<Location> defaultLocation2,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
Modifier and Type | Method and Description |
---|---|
Image |
PreinstalledDiskToImage.apply(DriveInfo drive) |
Modifier and Type | Method and Description |
---|---|
Image |
TemplateToImage.apply(Template template) |
Modifier and Type | Method and Description |
---|---|
Image |
ComputeService.getImage(String id)
Find an image by its id.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Image> |
JCloudsNativeComputeServiceAdapter.listImages()
Images are the available configured operating systems that someone can run a node with.
|
Set<? extends Image> |
ComputeService.listImages()
Images define the operating system and metadata related to a node.
|
Modifier and Type | Field and Description |
---|---|
protected Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> |
JCloudsNativeComputeServiceAdapterContextModule.adapter |
Modifier and Type | Method and Description |
---|---|
Image |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage.apply(Image arg0) |
Modifier and Type | Method and Description |
---|---|
protected abstract Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> |
BindComputeSuppliersByClass.defineImageSupplier() |
protected com.google.common.base.Predicate<AtomicReference<Image>> |
ComputeServiceTimeoutsModule.imageAvailable(AtomicImageAvailable statusAvailable,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period) |
protected com.google.common.base.Supplier<Map<String,? extends Image>> |
BaseComputeServiceContextModule.provideImageMap(com.google.common.base.Supplier<Set<? extends Image>> images) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
ComputeServiceAdapterContextModule.provideImages(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<I,Image> transformer,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) |
protected com.google.common.base.Predicate<AtomicReference<Image>> |
ComputeServiceTimeoutsModule.serverDeleted(AtomicImageDeleted statusDeleted,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod period) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyNonParsingImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector)
For overriding; default impl is same as
supplyImageCache(seconds, imageSupplier) |
Modifier and Type | Method and Description |
---|---|
Image |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage.apply(Image arg0) |
Modifier and Type | Method and Description |
---|---|
protected void |
BindComputeSuppliersByClass.bindImageSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> clazz) |
protected com.google.common.base.Supplier<Map<String,? extends Image>> |
BaseComputeServiceContextModule.provideImageMap(com.google.common.base.Supplier<Set<? extends Image>> images) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
ComputeServiceAdapterContextModule.provideImages(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<I,Image> transformer,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
BaseComputeServiceContextModule.supplyNonParsingImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector)
For overriding; default impl is same as
supplyImageCache(seconds, imageSupplier) |
Constructor and Description |
---|
JCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>> adapter) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Predicate<Image> |
HardwareBuilder.supportsImage |
Modifier and Type | Method and Description |
---|---|
Image |
ImageBuilder.build() |
Image |
Template.getImage()
Image that suits the requirements.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Predicate<Image> |
Hardware.supportsImage()
Determines whether this size can run an image.
|
Modifier and Type | Method and Description |
---|---|
TemplateBuilder |
TemplateBuilder.fromImage(Image image)
Configure this template to fuzzy-match on the image parameter
|
static ImageBuilder |
ImageBuilder.fromImage(Image image) |
Modifier and Type | Method and Description |
---|---|
TemplateBuilder |
TemplateBuilder.imageMatches(com.google.common.base.Predicate<Image> condition)
Configure this template to have an image description that matches the supplied condition
ex.
|
HardwareBuilder |
HardwareBuilder.supportsImage(com.google.common.base.Predicate<Image> supportsImage) |
Modifier and Type | Class and Description |
---|---|
class |
ImageImpl |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Predicate<Image> |
TemplateBuilderImpl.imagePredicate |
protected com.google.common.base.Supplier<Set<? extends Image>> |
TemplateBuilderImpl.images |
Modifier and Type | Method and Description |
---|---|
Image |
TemplateImpl.getImage()
Image that suits the requirements.
|
protected Image |
TemplateBuilderImpl.resolveImage(Hardware hardware,
Iterable<? extends Image> supportedImages) |
Modifier and Type | Method and Description |
---|---|
protected Set<? extends Image> |
TemplateBuilderImpl.getImages() |
com.google.common.base.Predicate<Image> |
HardwareImpl.supportsImage()
Determines whether this size can run an image.
|
Modifier and Type | Method and Description |
---|---|
TemplateBuilder |
TemplateBuilderImpl.fromImage(Image image)
Configure this template to fuzzy-match on the image parameter
|
Modifier and Type | Method and Description |
---|---|
TemplateBuilder |
TemplateBuilderImpl.imageMatches(com.google.common.base.Predicate<Image> condition)
Configure this template to have an image description that matches the supplied condition
ex.
|
protected Hardware |
TemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
protected Image |
TemplateBuilderImpl.resolveImage(Hardware hardware,
Iterable<? extends Image> supportedImages) |
protected NoSuchElementException |
TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingImageIds(String message,
Iterable<? extends Image> images) |
Constructor and Description |
---|
TemplateImpl(Image image,
Hardware hardware,
Location location,
TemplateOptions options) |
Constructor and Description |
---|
HardwareImpl(String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
Iterable<? extends Processor> processors,
int ram,
Iterable<? extends Volume> volumes,
com.google.common.base.Predicate<Image> supportsImage,
String hypervisor) |
TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwares,
com.google.common.base.Supplier<Location> defaultLocation2,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
ImageExtension.createImage(ImageTemplate template)
Transform the
ImageTemplate on an Image that can be used to create nodes. |
Modifier and Type | Method and Description |
---|---|
Image |
BaseComputeService.getImage(String id)
Find an image by its id.
|
Modifier and Type | Method and Description |
---|---|
Set<? extends Image> |
BaseComputeService.listImages()
Images define the operating system and metadata related to a node.
|
Constructor and Description |
---|
BaseComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwareProfiles,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy resumeNodeStrategy,
SuspendNodeStrategy suspendNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
InitAdminAccess initAdminAccess,
RunScriptOnNode.Factory runScriptOnNodeFactory,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Optional<ImageExtension> imageExtension) |
Modifier and Type | Method and Description |
---|---|
protected Image |
AtomicImageDeleted.refreshOrNull(Image resource) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Image> |
ImagePredicates.any()
return everything.
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.idEquals(String id)
evaluates true if the Image
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.idIn(Iterable<String> ids)
evaluates true if the Image id is in the supplied set
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.is64Bit()
return true if this is a 64bit image.
|
static com.google.common.base.Predicate<Image> |
ImagePredicates.userMetadataContains(String key,
String value)
evaluates true if the Image metadata contains the following values
|
Modifier and Type | Method and Description |
---|---|
protected Image |
AtomicImageDeleted.refreshOrNull(Image resource) |
Modifier and Type | Method and Description |
---|---|
protected Image |
RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid.refreshOrNull(Image resource) |
Modifier and Type | Method and Description |
---|---|
protected Image |
RefreshImageAndDoubleCheckOnFailUnlessStatusInvalid.refreshOrNull(Image resource) |
Modifier and Type | Method and Description |
---|---|
Image |
GetImageStrategy.getImage(String id) |
Modifier and Type | Method and Description |
---|---|
Image |
AdaptingComputeServiceStrategies.getImage(String id) |
Constructor and Description |
---|
AdaptingComputeServiceStrategies(Map<String,Credentials> credentialStore,
PrioritizeCredentialsFromTemplate prioritizeCredentialsFromTemplate,
ComputeServiceAdapter<N,H,I,L> client,
com.google.common.base.Function<N,NodeMetadata> nodeMetadataAdapter,
com.google.common.base.Function<I,Image> imageAdapter) |
Modifier and Type | Method and Description |
---|---|
Image |
StubComputeServiceAdapter.getImage(String id) |
Modifier and Type | Method and Description |
---|---|
Iterable<Image> |
StubComputeServiceAdapter.listImages() |
Constructor and Description |
---|
EC2ComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
EC2Client client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
com.google.common.base.Optional<ImageExtension> imageExtension,
GroupNamingConvention.Factory namingConvention,
boolean generateInstanceNames) |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> |
EC2BindComputeSuppliersByClass.defineImageSupplier() |
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
EC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCache(RegionAndNameToImageSupplier supplier) |
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> |
EC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate) |
protected com.google.common.base.Supplier<Set<? extends Image>> |
EC2ComputeServiceContextModule.supplyNonParsingImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Image>> |
EC2ComputeServiceContextModule.supplyNonParsingImageCache(AtomicReference<AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Image>> imageSupplier,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
boolean |
EC2HardwareBuilder.RequiresRootDeviceType.apply(Image image) |
boolean |
EC2HardwareBuilder.IsWindows.apply(Image image) |
boolean |
EC2HardwareBuilder.RequiresVirtualizationType.apply(Image image) |
Modifier and Type | Method and Description |
---|---|
EC2HardwareBuilder |
EC2HardwareBuilder.supportsImage(com.google.common.base.Predicate<Image> supportsImage) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
EC2ImageExtension.createImage(ImageTemplate template) |
Constructor and Description |
---|
EC2ImageExtension(EC2Client ec2Client,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Predicate<AtomicReference<Image>> imageAvailablePredicate) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
RunningInstanceToNodeMetadata.imageMap |
Modifier and Type | Method and Description |
---|---|
Image |
EC2ImageParser.apply(Image from) |
Modifier and Type | Method and Description |
---|---|
Map<RegionAndName,? extends Image> |
ImagesToRegionAndIdMap.apply(Iterable<? extends Image> input) |
static Map<RegionAndName,? extends Image> |
ImagesToRegionAndIdMap.imagesToMap(Iterable<? extends Image> input) |
Modifier and Type | Method and Description |
---|---|
Map<RegionAndName,? extends Image> |
ImagesToRegionAndIdMap.apply(Iterable<? extends Image> input) |
static Map<RegionAndName,? extends Image> |
ImagesToRegionAndIdMap.imagesToMap(Iterable<? extends Image> input) |
Constructor and Description |
---|
RunningInstanceToNodeMetadata(Map<InstanceState,NodeMetadata.Status> instanceToNodeStatus,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Hardware>> hardware,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Method and Description |
---|---|
protected Image |
EC2TemplateBuilderImpl.resolveImage(Hardware size,
Iterable<? extends Image> supportedImages) |
Modifier and Type | Method and Description |
---|---|
protected Set<? extends Image> |
EC2TemplateBuilderImpl.getImages() |
Modifier and Type | Method and Description |
---|---|
protected Image |
EC2TemplateBuilderImpl.resolveImage(Hardware size,
Iterable<? extends Image> supportedImages) |
Constructor and Description |
---|
EC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
EC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Method and Description |
---|---|
Image |
RegionAndIdToImage.load(RegionAndName key) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Image> |
EC2ImagePredicates.rootDeviceType(RootDeviceType rootDeviceType)
evaluates true if the Image has the specified root device type
|
Modifier and Type | Method and Description |
---|---|
Image |
EC2GetImageStrategy.getImage(String id) |
Constructor and Description |
---|
EC2GetImageStrategy(EC2Client client,
com.google.common.base.Function<Image,Image> imageToImage) |
Modifier and Type | Method and Description |
---|---|
com.google.common.cache.LoadingCache<RegionAndName,? extends Image> |
RegionAndNameToImageSupplier.get() |
Set<? extends Image> |
EC2ImageSupplier.get() |
Constructor and Description |
---|
EC2ImageSupplier(com.google.common.base.Supplier<Set<String>> regions,
DescribeImagesParallel describer,
String[] amiOwners,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> cache,
EC2ImageParser parser) |
RegionAndNameToImageSupplier(com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage,
long expirationSecs) |
Modifier and Type | Method and Description |
---|---|
Image |
WellKnownImageToImage.apply(DriveInfo drive) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Image>> |
ServerDetailsToNodeMetadata.images |
Modifier and Type | Method and Description |
---|---|
Image |
OSTemplateToImage.apply(OSTemplate template) |
Constructor and Description |
---|
GoGridComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwareProfiles,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy resumeNodeStrategy,
SuspendNodeStrategy suspendNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
InitAdminAccess initAdminAccess,
RunScriptOnNode.Factory runScriptOnNodeFactory,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Optional<ImageExtension> imageExtension) |
Modifier and Type | Method and Description |
---|---|
Image |
ServerImageToImage.apply(ServerImage from) |
protected Image |
ServerToNodeMetadata.parseImage(Server from) |
Constructor and Description |
---|
NovaComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
NovaApi novaApi,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> securityGroupMap,
com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache,
com.google.common.base.Function<Set<? extends NodeMetadata>,com.google.common.collect.Multimap<String,String>> orphanedGroupsByZoneId,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Optional<ImageExtension> imageExtension) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
NovaImageExtension.createImage(ImageTemplate template) |
Constructor and Description |
---|
NovaImageExtension(NovaApi novaApi,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Predicate<AtomicReference<Image>> imageAvailablePredicate) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Image>> |
ServerInZoneToNodeMetadata.images |
Modifier and Type | Method and Description |
---|---|
Image |
ImageInZoneToImage.apply(ImageInZone imageInZone) |
Constructor and Description |
---|
ServerInZoneToNodeMetadata(Map<Server.Status,NodeMetadata.Status> toPortableNodeStatus,
com.google.common.base.Supplier<Map<String,Location>> locationIndex,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwares,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Method and Description |
---|---|
Image |
ServerManagerImageToImage.apply(Image from) |
Modifier and Type | Method and Description |
---|---|
Image |
ProductItemToImage.apply(ProductItem productItem) |
Image |
VirtualGuestToNodeMetadata.GetImageForVirtualGuest.getImage(VirtualGuest guest) |
Constructor and Description |
---|
TerremarkVCloudComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy resumeNodeStrategy,
SuspendNodeStrategy suspendNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
CleanupOrphanKeys cleanupOrphanKeys,
com.google.common.base.Optional<ImageExtension> imageExtension) |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends com.google.common.base.Supplier<Set<? extends Image>>> |
TerremarkBindComputeSuppliersByClass.defineImageSupplier() |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<Set<? extends Image>> |
VAppToNodeMetadata.images |
Modifier and Type | Method and Description |
---|---|
Image |
ImageForVCloudExpressVAppTemplate.apply(VAppTemplate from) |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Image> |
ImagesInVCloudExpressOrg.apply(Org from) |
Iterable<? extends Image> |
ImagesInVCloudExpressVDC.apply(VDC from) |
Constructor and Description |
---|
VAppToNodeMetadata(TerremarkVCloudComputeClient computeClient,
Map<String,Credentials> credentialStore,
Map<Status,NodeMetadata.Status> vAppStatusToNodeStatus,
HardwareForVCloudExpressVApp hardwareForVCloudExpressVApp,
FindLocationForResource findLocationForResourceInVDC,
com.google.common.base.Supplier<Set<? extends Image>> images,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Function<VAppTemplate,Image> |
TerremarkVCloudGetImageStrategy.vAppToImage |
Modifier and Type | Method and Description |
---|---|
Image |
TerremarkVCloudGetImageStrategy.getImage(String in) |
Constructor and Description |
---|
TerremarkVCloudGetImageStrategy(TerremarkVCloudClient client,
com.google.common.base.Function<VAppTemplate,Image> vAppToImage) |
Modifier and Type | Method and Description |
---|---|
Set<? extends Image> |
VCloudImageSupplier.get() |
Set<? extends Image> |
VAppTemplatesInOrgs.get()
Terremark does not provide vApp templates in the vDC resourceEntity list.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageForVAppTemplate.apply(VAppTemplate from) |
Constructor and Description |
---|
VCloudTemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
Copyright © 2009-2013 jclouds. All Rights Reserved.