Package | Description |
---|---|
net.spy.memcached.internal |
Internal utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractListenableFuture<T,L extends GenericCompletionListener>
The
AbstractListenableFuture implements common functionality shared
by all futures that implement the ListenableFuture . |
interface |
ListenableFuture<T,L extends GenericCompletionListener>
A
Future that accepts one or more listeners that will be executed
asynchronously. |
Modifier and Type | Interface and 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.
|
Modifier and Type | Method and Description |
---|---|
protected Future<T> |
AbstractListenableFuture.addToListeners(GenericCompletionListener<? extends Future<T>> listener)
Add the given listener to the total list of listeners to be notified.
|
protected void |
AbstractListenableFuture.notifyListener(ExecutorService executor,
Future<?> future,
GenericCompletionListener listener)
Notify a specific listener of completion.
|
protected Future<T> |
AbstractListenableFuture.removeFromListeners(GenericCompletionListener<? extends Future<T>> listener)
Remove a listener from the list of registered listeners.
|
Copyright © 2018. All rights reserved.