@ThreadSafe @Service(value=ComputeRegistry.class) public class ComputeRegistryImpl extends AbstractComponent implements ComputeRegistry
| Constructor and Description |
|---|
ComputeRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.ComputeService |
getIfPresent(java.lang.String name)
Finds or waits for the
ComputeService that matches the specified name. |
org.jclouds.compute.ComputeService |
getOrWait(java.lang.String name)
Finds or waits for the
ComputeService that matches the specified name. |
java.util.List<org.jclouds.compute.ComputeService> |
list()
Returns a
List of all available ComputeService instances. |
void |
remove(java.lang.String name)
Removes the
ComputeService that matches the specified name. |
activateComponent, assertValid, deactivateComponent, isValidpublic java.util.List<org.jclouds.compute.ComputeService> list()
ComputeRegistryList of all available ComputeService instances.list in interface ComputeRegistrypublic org.jclouds.compute.ComputeService getIfPresent(java.lang.String name)
ComputeRegistryComputeService that matches the specified name.getIfPresent in interface ComputeRegistrypublic org.jclouds.compute.ComputeService getOrWait(java.lang.String name)
ComputeService that matches the specified name.getOrWait in interface ComputeRegistrypublic void remove(java.lang.String name)
ComputeService that matches the specified name.remove in interface ComputeRegistryCopyright © 2014 Red Hat. All Rights Reserved.