List of usage examples for com.google.common.util.concurrent AbstractCheckedFuture subclass-usage
From source file org.opendaylight.mdsal.dom.broker.PingPongFuture.java
/** * A {@link java.util.concurrent.Future} used to report the status of an future * {@link java.util.concurrent.Future}. */ final class PingPongFuture extends AbstractCheckedFuture<Void, TransactionCommitFailedException> { protected PingPongFuture(final ListenableFuture<Void> delegate) {
From source file org.opendaylight.controller.md.sal.dom.broker.impl.PingPongFuture.java
/** * A {@link java.util.concurrent.Future} used to report the status of an future * {@link java.util.concurrent.Future}. */ final class PingPongFuture extends AbstractCheckedFuture<Void, TransactionCommitFailedException> { protected PingPongFuture(final ListenableFuture<Void> delegate) {
From source file org.onos.yangtools.util.concurrent.MappingCheckedFuture.java
/**
* An implementation of CheckedFuture that provides similar behavior for the <code>get</code> methods
* that the <code>checkedGet</code> methods provide.
* <p>
* For {@link CancellationException} and {@link InterruptedException}, the specified exception mapper
* is invoked to translate them to the checked exception type.
From source file org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture.java
/**
* An implementation of CheckedFuture that provides similar behavior for the <code>get</code> methods
* that the <code>checkedGet</code> methods provide.
*
* <p>For {@link CancellationException} and {@link InterruptedException}, the specified exception mapper
* is invoked to translate them to the checked exception type.
From source file org.apache.hadoop.hdfs.storageservice.Response.java
/** Carries all information about NameNode's response to single Request */ public class Response<T> extends AbstractCheckedFuture<T, IOException> { public Response(ListenableFuture<T> delegate) { super(delegate); }
From source file org.apache.drill.exec.rpc.RpcCheckedFuture.java
public class RpcCheckedFuture<T> extends AbstractCheckedFuture<T, RpcException> implements DrillRpcFuture<T> { volatile ByteBuf buffer; public RpcCheckedFuture(ListenableFuture<T> delegate) { super(delegate);
From source file org.apache.drill.exec.rpc.DrillRpcFutureImpl.java
class DrillRpcFutureImpl<V> extends AbstractCheckedFuture<V, RpcException> implements DrillRpcFuture<V>, RpcOutcomeListener<V> { static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(DrillRpcFutureImpl.class); private volatile ByteBuf buffer;