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,
AWSEC2Api 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,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
AWSEC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
ImageCacheSupplier 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,
GetImageStrategy getImageStrategy,
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() |
Modifier and Type | Method and Description |
---|---|
Image |
BYONComputeServiceAdapter.getImage(String id) |
Modifier and Type | Method and Description |
---|---|
Iterable<Image> |
BYONComputeServiceAdapter.listImages() |
Constructor and Description |
---|
CloudStackComputeService(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,
CloudStackApi client,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupMap,
com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairCache,
com.google.common.base.Function<Set<? extends NodeMetadata>,com.google.common.collect.Multimap<String,String>> orphanedGroupsByZoneId,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Image> |
CloudStackImageExtension.createImage(ImageTemplate template) |
Constructor and Description |
---|
CloudStackImageExtension(CloudStackApi client,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Predicate<AtomicReference<Image>> imageAvailablePredicate,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
com.google.common.base.Predicate<String> jobComplete) |
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.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilder |
TemplateBuilder.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilder |
TemplateBuilder.imageMatches(com.google.common.base.Predicate<Image> condition)
Configure this template to have an image 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.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser |
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser |
protected com.google.common.base.Predicate<Image> |
TemplateBuilderImpl.imagePredicate |
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() |
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser() |
protected com.google.common.base.Function<Iterable<? extends Image>,Image> |
TemplateBuilderImpl.imageChooser() |
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 |
---|---|
TemplateBuilderImpl |
TemplateBuilderImpl.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilderImpl |
TemplateBuilderImpl.imageChooser(com.google.common.base.Function<Iterable<? extends Image>,Image> imageChooser)
Configure this template with a specific preference function which operates on
images which match the other criteria.
|
TemplateBuilder |
TemplateBuilderImpl.imageMatches(com.google.common.base.Predicate<Image> condition)
Configure this template to have an image 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,
boolean deprecated) |
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,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
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,
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage addDefaultCredentialsToImage) |
Modifier and Type | Method and Description |
---|---|
Image |
StubComputeServiceAdapter.getImage(String id) |
Modifier and Type | Method and Description |
---|---|
Iterable<Image> |
StubComputeServiceAdapter.listImages() |
Modifier and Type | Method and Description |
---|---|
Set<? extends Image> |
ImageCacheSupplier.get() |
Modifier and Type | Method and Description |
---|---|
void |
ImageCacheSupplier.registerImage(Image image)
Registers a new image in the image cache.
|
Constructor and Description |
---|
ImageCacheSupplier(com.google.common.base.Supplier<Set<? extends Image>> imageCache,
long sessionIntervalSeconds) |
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,
EC2Api 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,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
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.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(EC2Api ec2Api,
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,
ImageCacheSupplier 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,
GetImageStrategy getImageStrategy,
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(EC2Api 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,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
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,
CleanupServer cleanupServer,
com.google.common.base.Optional<ImageExtension> imageExtension,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
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>> |
ServerInRegionToNodeMetadata.images |
Modifier and Type | Method and Description |
---|---|
Image |
ImageInRegionToImage.apply(ImageInRegion imageInRegion) |
Constructor and Description |
---|
ServerInRegionToNodeMetadata(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 |
OperatingSystemToImage.apply(OperatingSystem operatingSystem) |
Image |
VirtualGuestToImage.apply(VirtualGuest from) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.