List of usage examples for com.google.common.util.concurrent AbstractFuture subclass-usage
From source file org.glassfish.jersey.server.TimingOutInvocationCallback.java
/** * Callback implementation with a simple timeout support. * * @author Marek Potociar (marek.potociar at oracle.com) */ abstract class TimingOutInvocationCallback extends AbstractFuture<ContainerResponse>
From source file io.airlift.drift.client.DriftMethodInvocation.java
@ThreadSafe class DriftMethodInvocation<A extends Address> extends AbstractFuture<Object> { private static final Logger log = Logger.get(DriftMethodInvocation.class); private final MethodInvoker invoker; private final MethodMetadata metadata;
From source file br.com.ufu.impl.RuleRegistryDataChangeListenerFuture.java
public class RuleRegistryDataChangeListenerFuture extends AbstractFuture<RuleRegistryEntry> implements DataChangeListener, AutoCloseable { DataBroker db; private static final Logger LOG = LoggerFactory.getLogger(RuleRegistryDataChangeListenerFuture.class); private ListenerRegistration<DataChangeListener> registration;
From source file org.glassfish.jersey.process.internal.AsyncInflectorAdapter.java
/**
* Suspendable, asynchronous {@link Inflector inflector} adapter
* that provides implementation of the request suspend/resume capabilities of the
* {@link InvocationContext invocation context} and returns
* a {@link ListenableFuture listenable response future} instead of a plain response
* object.
From source file org.fcrepo.transform.http.responses.ResultSetStreamingOutput.java
/** * Stream the results of a SPARQL Query * * @author cbeer */ public class ResultSetStreamingOutput extends AbstractFuture<Void> implements StreamingOutput {
From source file org.apache.crunch.impl.spark.SparkRuntime.java
public class SparkRuntime extends AbstractFuture<PipelineResult> implements PipelineExecution { private static final Logger LOG = LoggerFactory.getLogger(SparkRuntime.class); private SparkPipeline pipeline; private JavaSparkContext sparkContext;
From source file diskCacheV111.srm.dcache.PinCompanion.java
public class PinCompanion extends AbstractFuture<AbstractStorageElement.Pin> { private static final Logger _log = LoggerFactory.getLogger(PinCompanion.class); public static final String DISK_PIN_ID = "disk"; private final Subject _subject;