|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RestContext<S,A>
Represents an authenticated context to the cloud.
close()
when you are finished with this context in order to
release resources.
Method Summary | |
---|---|
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. |
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()
|
Methods inherited from interface org.jclouds.domain.Location |
---|
getDescription, getId, getIso3166Codes, getMetadata, getParent, getScope |
Method Detail |
---|
A getAsyncApi()
Future
sS getApi()
getAsyncApi()
with predetermined
timeouts.
URI getEndpoint()
String getApiVersion()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |