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 classAbstractListenableFuture<T,L extends GenericCompletionListener>TheAbstractListenableFutureimplements common functionality shared by all futures that implement theListenableFuture.interfaceListenableFuture<T,L extends GenericCompletionListener>AFuturethat accepts one or more listeners that will be executed asynchronously.Subinterfaces of GenericCompletionListener in net.spy.memcached.internal Modifier and Type Interface Description interfaceBulkGetCompletionListenerA listener that will be notified once the bulk get future completes.interfaceGetCompletionListenerA listener that will be notified once the get future completes.interfaceOperationCompletionListenerA 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. listenersHolds 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 voidAbstractListenableFuture. 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.
-