Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> |
CloudStackComputeService.zoneIdToZone |
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 |
---|---|
Location |
ZoneToLocation.apply(Zone zone) |
Modifier and Type | Method and Description |
---|---|
Iterable<Zone> |
CloudStackComputeServiceAdapter.listLocations() |
Constructor and Description |
---|
CloudStackComputeServiceAdapter(CloudStackApi client,
com.google.common.base.Predicate<String> jobComplete,
com.google.common.base.Supplier<Map<String,Network>> networkSupplier,
com.google.common.base.Supplier<Map<String,Project>> projectSupplier,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
StaticNATVirtualMachineInNetwork.Factory staticNATVMInNetwork,
CreatePortForwardingRulesForIP setupPortForwardingRulesForIP,
CreateFirewallRulesForIP setupFirewallRulesForIP,
com.google.common.cache.LoadingCache<String,Set<IPForwardingRule>> vmToRules,
Map<String,Credentials> credentialStore,
Map<NetworkType,? extends OptionsConverter> optionsConverters,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone,
com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroup> securityGroupCache,
com.google.common.cache.LoadingCache<String,SshKeyPair> keyPairCache,
GroupNamingConvention.Factory namingConvention,
GetLoginForProviderFromPropertiesAndStoreCredentialsOrReturnNull credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
Zone |
Zone.Builder.build() |
Modifier and Type | Method and Description |
---|---|
int |
Zone.compareTo(Zone o) |
T |
Zone.Builder.fromZone(Zone in) |
Modifier and Type | Method and Description |
---|---|
Zone |
GlobalZoneApi.createZone(String name,
NetworkType networkType,
String externalDns1,
String internalDns1,
CreateZoneOptions... options)
Create a new Zone
|
Zone |
ZoneApi.getZone(String id)
get a specific zone by id
|
Zone |
GlobalZoneApi.updateZone(String id,
UpdateZoneOptions... options)
Update a zone
|
Modifier and Type | Method and Description |
---|---|
Set<Zone> |
ZoneApi.listZones(ListZonesOptions... options)
Lists zones
|
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> |
CreateSecurityGroupIfNeeded.zoneIdToZone |
Modifier and Type | Method and Description |
---|---|
Zone |
ZoneIdToZone.load(String zoneId) |
Constructor and Description |
---|
CreateSecurityGroupIfNeeded(CloudStackApi client,
com.google.common.base.Predicate<String> jobComplete,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<String,Zone>> zoneIdToZone) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Zone> |
ZonePredicates.any() |
static com.google.common.base.Predicate<Zone> |
ZonePredicates.supportsAdvancedNetworks() |
static com.google.common.base.Predicate<Zone> |
ZonePredicates.supportsSecurityGroups() |
Modifier and Type | Method and Description |
---|---|
com.google.common.cache.LoadingCache<String,Zone> |
ZoneIdToZoneSupplier.get() |
Constructor and Description |
---|
ZoneIdToZoneSupplier(com.google.common.cache.CacheLoader<String,Zone> zoneIdToZone,
long expirationSecs) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.