public interface RestContext<S,A> extends Location
close()
when you are finished with this context in order to
release resources.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes all connections to Cloud Files.
|
Map<String,Credentials> |
credentialStore() |
S |
getApi()
reflects a tuned connection to the cloud which calls
getAsyncApi() with predetermined
timeouts. |
String |
getApiVersion() |
A |
getAsyncApi()
low-level api to the cloud.
|
String |
getBuildVersion() |
Map<String,Credentials> |
getCredentialStore()
retrieves a list of credentials for resources created within this context, keyed on
id
of the resource. |
URI |
getEndpoint() |
String |
getIdentity() |
Utils |
getUtils() |
Utils |
utils() |
getDescription, getId, getIso3166Codes, getMetadata, getParent, getScope
A getAsyncApi()
Future
sS getApi()
getAsyncApi()
with predetermined
timeouts.URI getEndpoint()
String getApiVersion()
Constants.PROPERTY_API_VERSION
String getBuildVersion()
Constants.PROPERTY_BUILD_VERSION
String getIdentity()
@Beta Map<String,Credentials> getCredentialStore()
id
of the resource. We are testing this approach for resources such as compute nodes, where you
could access this externally.@Beta Map<String,Credentials> credentialStore()
Utils getUtils()
Utils utils()
getUtils()
void close()
Copyright © 2009-2012 jclouds. All Rights Reserved.