Inherited by OptimizedGetImpl.

Public Member Functions | |
| Collection< String > | getKeys () |
| void | initialize () |
| MultiGetOperationImpl (Collection< String > k, OperationCallback cb) | |
Protected Member Functions | |
| int | addKey (String k) |
| void | finishedPayload (byte[] pl) throws IOException |
| boolean | opaqueIsValid () |
Private Attributes | |
| final Map< Integer, byte[]> | bkeys = new HashMap<Integer, byte[]>() |
| final Map< Integer, String > | keys = new HashMap<Integer, String>() |
| final Map< String, Integer > | rkeys = new HashMap<String, Integer>() |
| final int | terminalOpaque = generateOpaque() |
Static Private Attributes | |
| static final int | CMD_GETQ = 9 |
| MultiGetOperationImpl | ( | Collection< String > | k, | |
| OperationCallback | cb | |||
| ) |
| int addKey | ( | String | k | ) | [protected] |
Add a key (and return its new opaque value).
| void finishedPayload | ( | byte[] | pl | ) | throws IOException [protected] |
Reimplemented from OperationImpl.
| Collection<String> getKeys | ( | ) |
Get the keys requested in this GetOperation.
Implements GetOperation.
| void initialize | ( | ) |
Initialize this operation. This is used to prepare output byte buffers and stuff.
Implements Operation.
| boolean opaqueIsValid | ( | ) | [protected] |
Validate an opaque value from the header. This may be overridden from a subclass where the opaque isn't expected to always be the same as the request opaque.
Reimplemented from OperationImpl.
final Map<Integer, byte[]> bkeys = new HashMap<Integer, byte[]>() [private] |
final int CMD_GETQ = 9 [static, private] |
final int terminalOpaque = generateOpaque() [private] |
1.5.8