List of usage examples for com.google.common.util.concurrent FutureCallback interface-usage
From source file org.opendaylight.vtn.manager.it.ofmock.impl.UpdateDataTask.java
/**
* {@code UpdateDataTask} describes a task that updates a data model in the
* MD-SAL operational datastore.
*
* @param <T> The type of the target data model.
*/
From source file org.excalibur.core.util.concurrent.SimpleCountDownFutureCallback.java
public class SimpleCountDownFutureCallback<V> implements FutureCallback<V> { private final CountDownLatch countDownLatch_; public SimpleCountDownFutureCallback(CountDownLatch countDown) { this.countDownLatch_ = checkNotNull(countDown); }
From source file de.qaware.chronix.storage.solr.stream.TimeSeriesHandler.java
/**
* Class to handle future callbacks
*
* @param <T> the element type
* @author f.lautenschlager
*/
From source file de.qaware.chronix.lucene.client.stream.TimeSeriesHandler.java
/**
* Class to handle future callbacks
*
* @param <T> the element type
* @author f.lautenschlager
*/
From source file de.qaware.chronix.solr.client.stream.TimeSeriesHandler.java
/**
* Class to handle future callbacks
*
* @param <T> the element type
* @author f.lautenschlager
*/
From source file org.opendaylight.vtn.manager.it.ofmock.impl.DeleteDataTask.java
/**
* {@code DeleteDataTask} describes a task that deletes a data model from the
* MD-SAL operational datastore.
*
* @param <T> The type of the target data model.
*/
From source file io.prestosql.server.remotetask.SimpleHttpResponseHandler.java
public class SimpleHttpResponseHandler<T> implements FutureCallback<FullJsonResponseHandler.JsonResponse<T>> { private final SimpleHttpResponseCallback<T> callback; private final URI uri; private final RemoteTaskStats stats;
From source file com.coinblesk.client.utils.PaymentFutureCallback.java
/** * @author Andreas Albrecht */ public final class PaymentFutureCallback implements FutureCallback<Object> { private final WeakReference<ProgressSuccessOrFailDialog> dialogReference;
From source file com.facebook.presto.server.remotetask.SimpleHttpResponseHandler.java
public class SimpleHttpResponseHandler<T> implements FutureCallback<FullJsonResponseHandler.JsonResponse<T>> { private final SimpleHttpResponseCallback<T> callback; private final URI uri; private final RemoteTaskStats stats;
From source file org.hawkular.metrics.api.jaxrs.callback.EntityCreatedCallback.java
/**
* Base callback class used to build a JAX-RS response when creating an entity (metric, tenant, ...).
* <p>
* On success, a <em>201 CREATED</em> response is built with the <em>location</em> header to indicate the URI of the new
* resource.
* <p>