| Modifier and Type | Method and Description |
|---|---|
Iterable<Hardware> |
JCloudsNativeComputeServiceAdapter.listHardwareProfiles()
Hardware profiles describe available cpu, memory, and disk configurations that can be used to
run a node.
|
Set<? extends Hardware> |
ComputeService.listHardwareProfiles()
The list hardware profiles command shows you the options including virtual cpu count, memory,
and disks.
|
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,org.jclouds.domain.Location>> |
JCloudsNativeComputeServiceAdapterContextModule.adapter |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<? extends com.google.common.base.Supplier<Set<? extends Hardware>>> |
BindComputeSuppliersByClass.defineHardwareSupplier() |
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
ComputeServiceAdapterContextModule.provideHardware(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<H,Hardware> transformer) |
protected com.google.common.base.Supplier<Map<String,? extends Hardware>> |
BaseComputeServiceContextModule.provideSizeMap(com.google.common.base.Supplier<Set<? extends Hardware>> sizes) |
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
BaseComputeServiceContextModule.supplySizeCache(AtomicReference<org.jclouds.rest.AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwareSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BindComputeSuppliersByClass.bindHardwareSupplier(Class<? extends com.google.common.base.Supplier<Set<? extends Hardware>>> clazz) |
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
ComputeServiceAdapterContextModule.provideHardware(ComputeServiceAdapter<N,H,I,L> adapter,
com.google.common.base.Function<H,Hardware> transformer) |
protected com.google.common.base.Supplier<Map<String,? extends Hardware>> |
BaseComputeServiceContextModule.provideSizeMap(com.google.common.base.Supplier<Set<? extends Hardware>> sizes) |
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
BaseComputeServiceContextModule.supplySizeCache(AtomicReference<org.jclouds.rest.AuthorizationException> authException,
long seconds,
com.google.common.base.Supplier<Set<? extends Hardware>> hardwareSupplier) |
| Constructor and Description |
|---|
JCloudsNativeComputeServiceAdapterContextModule(Class<? extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,org.jclouds.domain.Location>> adapter) |
| Modifier and Type | Method and Description |
|---|---|
Hardware |
HardwareBuilder.build() |
Hardware |
Template.getHardware()
Size that suits the requirements.
|
Hardware |
NodeMetadata.getHardware()
The hardware this node is running, if possible to determine.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilder |
TemplateBuilder.fromHardware(Hardware hardware)
Configure this template to require the minimum hardware of the parameter.
|
static HardwareBuilder |
HardwareBuilder.fromHardware(Hardware in) |
NodeMetadataBuilder |
NodeMetadataBuilder.hardware(Hardware hardware) |
| Modifier and Type | Class and Description |
|---|---|
class |
HardwareImpl |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Supplier<Set<? extends Hardware>> |
TemplateBuilderImpl.hardwares |
| Modifier and Type | Method and Description |
|---|---|
protected Hardware |
ArbitraryCpuRamTemplateBuilderImpl.automaticHardware(double cores,
int ram,
com.google.common.base.Optional<Float> diskSize) |
protected Hardware |
TemplateBuilderImpl.findHardwareWithId(Set<? extends Hardware> hardwaresToSearch) |
protected Hardware |
ArbitraryCpuRamTemplateBuilderImpl.findHardwareWithId(Set<? extends Hardware> hardwaresToSearch) |
Hardware |
TemplateImpl.getHardware()
Size that suits the requirements.
|
Hardware |
NodeMetadataImpl.getHardware()
The hardware this node is running, if possible to determine.
|
protected Hardware |
TemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
protected Hardware |
ArbitraryCpuRamTemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.collect.Ordering<Hardware> |
TemplateBuilderImpl.hardwareSorter() |
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilder |
TemplateBuilderImpl.fromHardware(Hardware hardware)
Configure this template to require the minimum hardware of the parameter.
|
protected Image |
TemplateBuilderImpl.resolveImage(Hardware hardware,
Iterable<? extends Image> supportedImages) |
| Modifier and Type | Method and Description |
|---|---|
protected Hardware |
TemplateBuilderImpl.findHardwareWithId(Set<? extends Hardware> hardwaresToSearch) |
protected Hardware |
ArbitraryCpuRamTemplateBuilderImpl.findHardwareWithId(Set<? extends Hardware> hardwaresToSearch) |
protected Hardware |
TemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
protected Hardware |
ArbitraryCpuRamTemplateBuilderImpl.resolveHardware(Set<? extends Hardware> hardwarel,
Iterable<? extends Image> images) |
protected NoSuchElementException |
TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingHardwareIds(String message,
Iterable<? extends Hardware> hardwares) |
| Constructor and Description |
|---|
NodeMetadataImpl(String providerId,
String name,
String id,
org.jclouds.domain.Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
String group,
Hardware hardware,
String imageId,
OperatingSystem os,
NodeMetadata.Status status,
String backendStatus,
int loginPort,
Iterable<String> publicAddresses,
Iterable<String> privateAddresses,
org.jclouds.domain.LoginCredentials credentials,
String hostname) |
TemplateImpl(Image image,
Hardware hardware,
org.jclouds.domain.Location location,
TemplateOptions options) |
| Constructor and Description |
|---|
ArbitraryCpuRamTemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.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<org.jclouds.domain.Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends org.jclouds.domain.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<org.jclouds.domain.Location> defaultLocation,
javax.inject.Provider<TemplateOptions> optionsProvider,
javax.inject.Provider<TemplateBuilder> defaultTemplateProvider) |
| Modifier and Type | Method and Description |
|---|---|
Set<? extends Hardware> |
BaseComputeService.listHardwareProfiles()
The list hardware profiles command shows you the options including virtual cpu count, memory,
and disks.
|
| Constructor and Description |
|---|
BaseComputeService(ComputeServiceContext context,
Map<String,org.jclouds.domain.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 org.jclouds.domain.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,
org.jclouds.scriptbuilder.functions.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 |
|---|---|
static com.google.common.base.Predicate<Hardware> |
HardwarePredicates.idEquals(String id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Hardware> |
StubComputeServiceAdapter.listHardwareProfiles() |
| Modifier and Type | Method and Description |
|---|---|
static double |
ComputeServiceUtils.getCores(Hardware input) |
static double |
ComputeServiceUtils.getCoresAndSpeed(Hardware input) |
static double |
ComputeServiceUtils.getSpace(Hardware input) |
Copyright © 2009-2017 The Apache Software Foundation. All Rights Reserved.