Uses of Class
org.apache.cassandra.utils.concurrent.AbstractFuture
Packages that use AbstractFuture
Package
Description
-
Uses of AbstractFuture in org.apache.cassandra.concurrent
Subclasses of AbstractFuture in org.apache.cassandra.concurrentModifier and TypeClassDescriptionclassFutureTask<V>A FutureTask that utilises Cassandra'sAsyncFuture, making it compatible withExecutorPlus.classA FutureTask that utilises Cassandra'sAsyncFuture, making it compatible withExecutorPlus.class -
Uses of AbstractFuture in org.apache.cassandra.net
Subclasses of AbstractFuture in org.apache.cassandra.netModifier and TypeClassDescriptionclassSeeAsyncPromiseandChannelPromiseThis class is all boiler plate, just ensuring we return ourselves and invoke the correct Promise method.classA callback specialized for returning a value from a single target; that is, this is for messages that we only send to one recipient. -
Uses of AbstractFuture in org.apache.cassandra.repair
Subclasses of AbstractFuture in org.apache.cassandra.repairModifier and TypeClassDescriptionclassAsymmetricRemoteSyncTask sendsSyncRequestto target node to repair(stream) data with other target replica.classLocalSyncTask performs streaming between local(coordinator) node and remote replica.classRepairJob runs repair on given ColumnFamily.classCoordinates the (active) repair of a list of non overlapping token ranges.static classclassSnapshotTask is a task that sends snapshot request.classSymmetricRemoteSyncTask sendsSyncRequestto remote(non-coordinator) node to repair(stream) data with other replica.classclassValidationTask sendsValidationRequestto a replica. -
Uses of AbstractFuture in org.apache.cassandra.service.paxos.cleanup
Subclasses of AbstractFuture in org.apache.cassandra.service.paxos.cleanupModifier and TypeClassDescriptionclassclassclassclassclassclassDetermines the highest ballot we should attempt to repair -
Uses of AbstractFuture in org.apache.cassandra.service.reads.repair
Subclasses of AbstractFuture in org.apache.cassandra.service.reads.repair -
Uses of AbstractFuture in org.apache.cassandra.streaming
Subclasses of AbstractFuture in org.apache.cassandra.streamingModifier and TypeClassDescriptionfinal classA future on the result (StreamState) of a streaming plan. -
Uses of AbstractFuture in org.apache.cassandra.utils.concurrent
Subclasses of AbstractFuture in org.apache.cassandra.utils.concurrentModifier and TypeClassDescriptionclassAsyncFuture<V>Our defaultFutureimplementation, with all state being managed without locks (except those used by the JVM).classAsyncPromise<V>ExtendsAsyncFutureto implement thePromiseinterface.static classclassNetty's PromiseCombiner is not threadsafe, and we combine futures from multiple event executors.classclassSyncFuture<V>Netty's DefaultPromise uses a mutex to coordinate notifiers AND waiters between the eventLoop and the other threads.classSyncPromise<V>ExtendsSyncFutureto implement thePromiseinterface.static classMethods in org.apache.cassandra.utils.concurrent that return AbstractFutureModifier and TypeMethodDescriptionAbstractFuture.addCallback(com.google.common.util.concurrent.FutureCallback<? super V> callback) SupportFutures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>, java.util.concurrent.Executor)natively SeeaddListener(GenericFutureListener)for ordering semantics.AbstractFuture.addCallback(com.google.common.util.concurrent.FutureCallback<? super V> callback, Executor executor) SupportFutures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>, java.util.concurrent.Executor)natively SeeaddListener(GenericFutureListener)for ordering semantics.AbstractFuture.addCallback(BiConsumer<? super V, Throwable> callback) SupportFutures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>, java.util.concurrent.Executor)natively SeeaddListener(GenericFutureListener)for ordering semantics.AbstractFuture.addCallback(Consumer<? super V> onSuccess, Consumer<? super Throwable> onFailure) Support more fluid version ofFutures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>, java.util.concurrent.Executor)SeeaddListener(GenericFutureListener)for ordering semantics.AbstractFuture.addCallback(Consumer<? super V> onSuccess, Consumer<? super Throwable> onFailure, Executor executor) Support more fluid version ofFutures.addCallback(com.google.common.util.concurrent.ListenableFuture<V>, com.google.common.util.concurrent.FutureCallback<? super V>, java.util.concurrent.Executor)SeeaddListener(GenericFutureListener)for ordering semantics.Methods in org.apache.cassandra.utils.concurrent with parameters of type AbstractFutureModifier and TypeMethodDescriptionprotected <T> Future<T>AbstractFuture.flatMap(AbstractFuture<T> result, Function<? super V, ? extends Future<T>> flatMapper, Executor executor) SupportFutures.transformAsync(ListenableFuture, AsyncFunction, Executor)natively SeeaddListener(GenericFutureListener)for ordering semantics.protected <T> Future<T>AbstractFuture.map(AbstractFuture<T> result, Function<? super V, ? extends T> mapper, Executor executor) SupportFutures.transform(ListenableFuture, com.google.common.base.Function, Executor)natively SeeaddListener(GenericFutureListener)for ordering semantics.