Uses of Interface
net.spy.memcached.internal.GenericCompletionListener
-
Packages that use GenericCompletionListener Package Description net.spy.memcached.internal Internal utilities. -
-
Uses of GenericCompletionListener in net.spy.memcached.internal
Classes in net.spy.memcached.internal with type parameters of type GenericCompletionListener Modifier and Type Class Description class
AbstractListenableFuture<T,L extends GenericCompletionListener>
TheAbstractListenableFuture
implements common functionality shared by all futures that implement theListenableFuture
.interface
ListenableFuture<T,L extends GenericCompletionListener>
AFuture
that accepts one or more listeners that will be executed asynchronously.Subinterfaces of GenericCompletionListener in net.spy.memcached.internal Modifier and Type Interface Description interface
BulkGetCompletionListener
A listener that will be notified once the bulk get future completes.interface
GetCompletionListener
A listener that will be notified once the get future completes.interface
OperationCompletionListener
A listener that will be notified once the operation future completes.Fields in net.spy.memcached.internal with type parameters of type GenericCompletionListener Modifier and Type Field Description private java.util.List<GenericCompletionListener<? extends java.util.concurrent.Future<T>>>
AbstractListenableFuture. listeners
Holds the list of listeners which will be notified upon completion.Methods in net.spy.memcached.internal with parameters of type GenericCompletionListener Modifier and Type Method Description protected java.util.concurrent.Future<T>
AbstractListenableFuture. addToListeners(GenericCompletionListener<? extends java.util.concurrent.Future<T>> listener)
Add the given listener to the total list of listeners to be notified.protected void
AbstractListenableFuture. notifyListener(java.util.concurrent.ExecutorService executor, java.util.concurrent.Future<?> future, GenericCompletionListener listener)
Notify a specific listener of completion.protected java.util.concurrent.Future<T>
AbstractListenableFuture. removeFromListeners(GenericCompletionListener<? extends java.util.concurrent.Future<T>> listener)
Remove a listener from the list of registered listeners.
-