List of usage examples for com.google.common.util.concurrent FutureFallback interface-usage
From source file org.jclouds.Fallback.java
/**
* Provides a backup value to replace an earlier exception.
*
* @param <V>
* the result type of the backup value
*
From source file org.jclouds.fallbacks.PropagateIfRetryAfter.java
/**
* propagates as {@link org.jclouds.rest.RetryAfterException} if a Throwable contains information such as a retry
* offset.
*
* @author Adrian Cole
*/
From source file com.spotify.trickle.NodeExecutionFallback.java
/** * Fallback that handles errors when executing a graph node. */ class NodeExecutionFallback<R> implements FutureFallback<R> { private final TraverseState.FutureCallInformation currentCall;
From source file com.google.cloud.bigtable.grpc.async.RetryingRpcFutureFallback.java
/** * A {@link FutureFallback} that retries a {@link RetryableRpc} request. */ public class RetryingRpcFutureFallback<RequestT, ResponseT> implements FutureFallback<ResponseT> { public static <RequestT, ResponseT> RetryingRpcFutureFallback<RequestT, ResponseT> create(