org.jclouds.ContextBuilder#buildApi()
as
async interface will be removed in jclouds 1.7.@Deprecated public class RestContextImpl<S,A> extends ContextImpl implements RestContext<S,A>
Modifier | Constructor and Description |
---|---|
protected |
RestContextImpl(String name,
ProviderMetadata providerMetadata,
com.google.common.base.Supplier<Credentials> creds,
Utils utils,
Closer closer,
com.google.inject.Injector injector,
com.google.inject.TypeLiteral<S> syncApi,
com.google.inject.TypeLiteral<A> asyncApi)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
S |
getApi()
Deprecated.
reflects a tuned connection to the cloud which calls
RestContext.getAsyncApi() with predetermined
timeouts. |
A |
getAsyncApi()
Deprecated.
low-level api to the cloud.
|
close, equals, getDescription, getId, getIdentity, getIso3166Codes, getMetadata, getName, getParent, getProviderMetadata, getScope, getUtils, hashCode, toString, utils
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
close, getIdentity, getName, getProviderMetadata, getUtils, utils
getDescription, getId, getIso3166Codes, getMetadata, getParent, getScope
@Inject protected RestContextImpl(String name, ProviderMetadata providerMetadata, com.google.common.base.Supplier<Credentials> creds, Utils utils, Closer closer, com.google.inject.Injector injector, com.google.inject.TypeLiteral<S> syncApi, com.google.inject.TypeLiteral<A> asyncApi)
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.