public class ProxyCallback extends 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(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(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 © 2025. All rights reserved.