public class RestContextImpl<S,A> extends ContextImpl implements RestContext<S,A>
Modifier | Constructor and Description |
---|---|
protected |
RestContextImpl(String name,
ProviderMetadata providerMetadata,
String identity,
Utils utils,
Closer closer,
com.google.inject.Injector injector,
com.google.inject.TypeLiteral<S> syncApi,
com.google.inject.TypeLiteral<A> asyncApi) |
Modifier and Type | Method and Description |
---|---|
S |
getApi()
reflects a tuned connection to the cloud which calls
RestContext.getAsyncApi() with predetermined
timeouts. |
A |
getAsyncApi()
low-level api to the cloud.
|
close, credentialStore, equals, getApiVersion, getBuildVersion, getCredentialStore, getDescription, getEndpoint, getId, getIdentity, getIso3166Codes, getMetadata, getName, getParent, getProviderMetadata, getScope, getUtils, hashCode, toString, utils
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
close, credentialStore, getApiVersion, getBuildVersion, getCredentialStore, getEndpoint, getIdentity, getName, getProviderMetadata, getUtils, utils
getDescription, getId, getIso3166Codes, getMetadata, getParent, getScope
public A getAsyncApi()
RestContext
getAsyncApi
in interface RestContext<S,A>
Future
spublic S getApi()
RestContext
RestContext.getAsyncApi()
with predetermined
timeouts.getApi
in interface RestContext<S,A>
Copyright © 2009-2013 jclouds. All Rights Reserved.