public interface PropagateIfRetryAfter extends com.google.common.util.concurrent.FutureFallback<Object>
RetryAfterException
if a Throwable contains information such as a retry
offset.Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Object> |
create(Throwable t)
if input is not of type
HttpResponseException , this method propagates. |
com.google.common.util.concurrent.ListenableFuture<Object> create(Throwable t)
HttpResponseException
, this method propagates. Otherwise, immediate future of
null
, if didn't coerce to RetryAfterException
create
in interface com.google.common.util.concurrent.FutureFallback<Object>
Copyright © 2009-2013 jclouds. All Rights Reserved.