
Public Member Functions | |
| void | addCallbacks (GetOperation o) |
| void | complete () |
| void | gotData (String key, int flags, byte[] data) |
| int | numCallbacks () |
| int | numKeys () |
| void | receivedStatus (OperationStatus status) |
Private Attributes | |
| final Collection < GetOperation.Callback > | allCallbacks |
| final Map< String, Collection < GetOperation.Callback > > | callbacks |
| void addCallbacks | ( | GetOperation | o | ) |
| void complete | ( | ) |
Called whenever an operation completes.
Implements OperationCallback.
| void gotData | ( | String | key, | |
| int | flags, | |||
| byte[] | data | |||
| ) |
Callback for each result from a get.
| key | the key that was retrieved | |
| flags | the flags for this value | |
| data | the data stored under this key |
Implements GetOperation.Callback.
| int numCallbacks | ( | ) |
| int numKeys | ( | ) |
| void receivedStatus | ( | OperationStatus | status | ) |
Method invoked with the status when the operation is complete.
| line | the line containing the final status of the operation |
Implements OperationCallback.
final Collection<GetOperation.Callback> allCallbacks [private] |
Initial value:
new ArrayList<GetOperation.Callback>()
Initial value:
new HashMap<String, Collection<GetOperation.Callback>>()
1.5.8