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 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.
|
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.