Constructor and Description |
---|
HPCloudComputeServiceAdapter(NovaApi novaApi,
com.google.common.base.Supplier<Set<String>> zoneIds,
RemoveFloatingIpFromNodeAndDeallocate removeFloatingIpFromNodeAndDeallocate,
com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> |
NovaComputeServiceAdapter.keyPairCache |
protected com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> |
NovaComputeService.keyPairCache |
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> |
NovaComputeService.securityGroupMap |
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,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
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,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
NovaComputeServiceAdapter(NovaApi novaApi,
com.google.common.base.Supplier<Set<String>> zoneIds,
RemoveFloatingIpFromNodeAndDeallocate removeFloatingIpFromNodeAndDeallocate,
com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> |
NovaComputeServiceContextModule.keyPairMap(com.google.common.cache.CacheLoader<ZoneAndName,KeyPair> in) |
protected com.google.common.base.Predicate<AtomicReference<ZoneAndName>> |
NovaComputeServiceContextModule.securityGroupEventualConsistencyDelay(FindSecurityGroupWithNameAndReturnTrue in,
long msDelay) |
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> |
NovaComputeServiceContextModule.securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroupInZone> in) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> |
NovaComputeServiceContextModule.keyPairMap(com.google.common.cache.CacheLoader<ZoneAndName,KeyPair> in) |
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> |
NovaComputeServiceContextModule.securityGroupMap(com.google.common.cache.CacheLoader<ZoneAndName,SecurityGroupInZone> in) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> |
NovaSecurityGroupExtension.groupCreator |
Constructor and Description |
---|
NovaSecurityGroupExtension(NovaApi api,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Set<String>> zoneIds,
com.google.common.base.Function<SecurityGroupInZone,SecurityGroup> groupConverter,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> groupCreator,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Predicate<AtomicReference<ZoneAndName>> |
SecurityGroupRuleToIpPermission.returnSecurityGroupExistsInZone |
Constructor and Description |
---|
SecurityGroupRuleToIpPermission(com.google.common.base.Predicate<AtomicReference<ZoneAndName>> returnSecurityGroupExistsInZone,
com.google.common.base.Supplier<Map<String,Location>> locationIndex,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> groupMap) |
SecurityGroupRuleToIpPermission(com.google.common.base.Predicate<AtomicReference<ZoneAndName>> returnSecurityGroupExistsInZone,
com.google.common.base.Supplier<Map<String,Location>> locationIndex,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> groupMap) |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Predicate<AtomicReference<ZoneAndName>> |
FindSecurityGroupOrCreate.returnSecurityGroupExistsInZone |
Modifier and Type | Method and Description |
---|---|
SecurityGroupInZone |
FindSecurityGroupOrCreate.load(ZoneAndName in) |
KeyPair |
CreateUniqueKeyPair.load(ZoneAndName zoneAndName) |
Constructor and Description |
---|
FindSecurityGroupOrCreate(com.google.common.base.Predicate<AtomicReference<ZoneAndName>> returnSecurityGroupExistsInZone,
com.google.common.base.Function<ZoneSecurityGroupNameAndPorts,SecurityGroupInZone> groupCreator) |
Modifier and Type | Method and Description |
---|---|
boolean |
AllNodesInGroupTerminated.apply(ZoneAndName input) |
Constructor and Description |
---|
ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy,
ListNodesStrategy listNodesStrategy,
GroupNamingConvention.Factory namingConvention,
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
AllocateAndAddFloatingIpToNode createAndAddFloatingIpToNode,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> securityGroupCache,
com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache,
NovaApi novaApi) |
ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy,
ListNodesStrategy listNodesStrategy,
GroupNamingConvention.Factory namingConvention,
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
AllocateAndAddFloatingIpToNode createAndAddFloatingIpToNode,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> securityGroupCache,
com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache,
NovaApi novaApi) |
Modifier and Type | Class and Description |
---|---|
class |
SecurityGroupInZone |
class |
ZoneSecurityGroupNameAndPorts |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<ZoneAndName,String> |
ZoneAndName.NAME_FUNCTION |
static com.google.common.base.Function<ZoneAndName,String> |
ZoneAndName.ZONE_FUNCTION |
Modifier and Type | Method and Description |
---|---|
static ZoneAndName |
ZoneAndName.fromSlashEncoded(String name) |
static ZoneAndName |
ZoneAndName.fromZoneAndName(String zoneId,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
FindSecurityGroupWithNameAndReturnTrue.apply(AtomicReference<ZoneAndName> securityGroupInZoneRef) |
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.