Class StatsOperationImpl
java.lang.Object
net.spy.memcached.compat.SpyObject
net.spy.memcached.protocol.BaseOperationImpl
net.spy.memcached.protocol.ascii.OperationImpl
net.spy.memcached.protocol.ascii.StatsOperationImpl
- All Implemented Interfaces:
Operation, StatsOperation
Operation to retrieve statistics from a memcached server.
-
Nested Class Summary
Nested classes/interfaces inherited from interface StatsOperation
StatsOperation.Callback -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StatsOperation.Callbackprivate static final OperationStatusprivate final byte[]private static final byte[]Fields inherited from class OperationImpl
CRLFFields inherited from class BaseOperationImpl
callback, CANCELLED, notMyVbucketNodes, TIMED_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleLine(String line) voidInitialize this operation.toString()protected voidThis is called on each subclass whenever an operation was cancelled.Methods inherited from class OperationImpl
classifyError, getErrorMsg, getReadType, matchStatus, readFromBuffer, setArguments, setReadTypeMethods inherited from class BaseOperationImpl
addClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleError, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setBuffer, setCallback, setCloneCount, setHandlingNode, timeOut, transitionState, writeComplete, writingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Operation
addClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, setCloneCount, setHandlingNode, timeOut, writeComplete, writing
-
Field Details
-
END
-
MSG
private static final byte[] MSG -
msg
private final byte[] msg -
cb
-
-
Constructor Details
-
StatsOperationImpl
-
-
Method Details
-
handleLine
- Specified by:
handleLinein classOperationImpl
-
initialize
public void initialize()Description copied from interface:OperationInitialize this operation. This is used to prepare output byte buffers and stuff.- Specified by:
initializein interfaceOperation- Specified by:
initializein classBaseOperationImpl
-
wasCancelled
protected void wasCancelled()Description copied from class:BaseOperationImplThis is called on each subclass whenever an operation was cancelled.- Overrides:
wasCancelledin classBaseOperationImpl
-
toString
-