public class EndpointIfAlreadyExists extends Object implements Fallback<URI>, InvocationContext<EndpointIfAlreadyExists>
| Constructor and Description | 
|---|
EndpointIfAlreadyExists()  | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.common.util.concurrent.ListenableFuture<URI> | 
create(Throwable t)  | 
URI | 
createOrPropagate(Throwable t)
The exception is provided so that the  
Fallback implementation can
 conditionally determine whether to propagate the exception or to attempt
 to recover. | 
EndpointIfAlreadyExists | 
setContext(HttpRequest request)  | 
public com.google.common.util.concurrent.ListenableFuture<URI> create(Throwable t) throws Exception
public URI createOrPropagate(Throwable t) throws Exception
FallbackFallback implementation can
 conditionally determine whether to propagate the exception or to attempt
 to recover.createOrPropagate in interface Fallback<URI>t - the exception that made the call fail.Exceptionpublic EndpointIfAlreadyExists setContext(HttpRequest request)
setContext in interface InvocationContext<EndpointIfAlreadyExists>Copyright © 2009-2013 jclouds. All Rights Reserved.