|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rubyeye.xmemcached.command.Command
net.rubyeye.xmemcached.command.binary.BaseBinaryCommand
net.rubyeye.xmemcached.command.binary.BinaryStoreCommand
public class BinaryStoreCommand
Base binary protocol implementation
| Field Summary |
|---|
| Fields inherited from class net.rubyeye.xmemcached.command.binary.BaseBinaryCommand |
|---|
cas, decodeStatus, expTime, opaque, opCode, responseExtrasLength, responseKeyLength, responseStatus, responseTotalBodyLength, value |
| Fields inherited from class net.rubyeye.xmemcached.command.Command |
|---|
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFuture |
| Constructor Summary | |
|---|---|
BinaryStoreCommand(java.lang.String key,
byte[] keyBytes,
CommandType cmdType,
java.util.concurrent.CountDownLatch latch,
int exp,
long cas,
java.lang.Object value,
boolean noreply,
Transcoder transcoder)
|
|
| Method Summary | |
|---|---|
protected void |
readHeader(java.nio.ByteBuffer buffer)
optimistic,if no error,goto done |
| Methods inherited from class net.rubyeye.xmemcached.command.binary.BaseBinaryCommand |
|---|
decode, encode, fillCAS, fillExtras, fillHeader, fillKey, fillValue, finish, getCas, getExpTime, getExtrasLength, getKeyLength, getOpCode, getResponseStatus, getTranscoder, getValue, getValueLength, readCAS, readExtras, readKey, readOpaque, readOpCode, readStatus, readValue, setCas, setExpTime, setOpCode, setResponseStatus, setTranscoder, setValue |
| Methods inherited from class net.rubyeye.xmemcached.command.Command |
|---|
cancel, countDownLatch, decodeError, decodeError, decodeError, decodeError, getCommandType, getException, getIoBuffer, getKey, getKeyBytes, getLatch, getMergeCount, getMessage, getResult, getStatus, getWriteBuffer, getWriteFuture, isCancel, isNoreply, isWriting, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setWriteBuffer, setWriteFuture, toString, writing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryStoreCommand(java.lang.String key,
byte[] keyBytes,
CommandType cmdType,
java.util.concurrent.CountDownLatch latch,
int exp,
long cas,
java.lang.Object value,
boolean noreply,
Transcoder transcoder)
| Method Detail |
|---|
protected void readHeader(java.nio.ByteBuffer buffer)
readHeader in class BaseBinaryCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||