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, hashCode, isOpen, toString, utilsclone, finalize, getClass, notify, notifyAll, wait, wait, waitclose, getIdentity, getName, getProviderMetadata, isOpen, utilsgetDescription, 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()
RestContextgetAsyncApi in interface RestContext<S,A>Futurespublic S getApi()
RestContextRestContext.getAsyncApi() with predetermined
timeouts.getApi in interface RestContext<S,A>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.