public class ProxyCallback extends java.lang.Object implements GetOperation.Callback
| Constructor and Description |
|---|
ProxyCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallbacks(GetOperation o) |
void |
complete()
Called whenever an operation completes.
|
void |
gotData(java.lang.String key,
int flags,
byte[] data)
Callback for each result from a get.
|
int |
numCallbacks() |
int |
numKeys() |
void |
receivedStatus(OperationStatus status)
Method invoked with the status when the operation is complete.
|
public void addCallbacks(GetOperation o)
public void gotData(java.lang.String key,
int flags,
byte[] data)
GetOperation.CallbackgotData in interface GetOperation.Callbackkey - the key that was retrievedflags - the flags for this valuedata - the data stored under this keypublic void receivedStatus(OperationStatus status)
OperationCallbackreceivedStatus in interface OperationCallbackstatus - the result of the operationpublic void complete()
OperationCallbackcomplete in interface OperationCallbackpublic int numKeys()
public int numCallbacks()
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.