public class CachingComputeCloudClient extends ProxyComputeCloudClient
client| Constructor and Description |
|---|
CachingComputeCloudClient(ComputeCloudClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate()
Authenticates the client and stores an authentication token to allow
other methods to be called.
|
Collection<ImageList> |
getImageLists(ImageListSourceType sourceType)
Retrieve the list of imagelist according to source type
|
Collection<Shape> |
getShapes()
Retrieves the CPU and memory details of all the available shapes.
|
close, createInstanceOrchestration, deleteOrchestration, getImageListEntries, getInstanceOrchestration, getSecurityLists, getSSHKey, getSSHKeys, preInvoke, startOrchestration, stopOrchestration, toStringpublic CachingComputeCloudClient(ComputeCloudClient client)
public void authenticate()
throws ComputeCloudClientException
ComputeCloudClientauthenticate in interface ComputeCloudClientauthenticate in class ProxyComputeCloudClientComputeCloudClientUnauthorizedException - if authentication failedComputeCloudClientException - if an error occurs communicating with
the endpoint serverpublic Collection<Shape> getShapes() throws ComputeCloudClientException
ComputeCloudClientgetShapes in interface ComputeCloudClientgetShapes in class ProxyComputeCloudClientShape objectsComputeCloudClientUnauthorizedException - if the authentication
token has timed out or the user is not authorizedComputeCloudClientException - if an error occurs communicating with
the endpoint serverpublic Collection<ImageList> getImageLists(ImageListSourceType sourceType) throws ComputeCloudClientException
ComputeCloudClientgetImageLists in interface ComputeCloudClientgetImageLists in class ProxyComputeCloudClientImageListComputeCloudClientException - if an error occurs communicating with
the endpoint serverCopyright © 2016–2018. All rights reserved.