com.hazelcast.ascii.memcache
Class StatsCommand
java.lang.Object
com.hazelcast.ascii.AbstractTextCommand
com.hazelcast.ascii.memcache.StatsCommand
- All Implemented Interfaces:
- TextCommand, SocketReadable, SocketWritable
public class StatsCommand
- extends AbstractTextCommand
StatsCommand
public StatsCommand()
readFrom
public boolean readFrom(ByteBuffer cb)
setResponse
public void setResponse(Stats stats)
writeTo
public boolean writeTo(ByteBuffer bb)
- Description copied from interface:
SocketWritable
- Asks the SocketWritable to write its content to the destination ByteBuffer.
- Parameters:
bb
- the ByteBuffer to write to.
- Returns:
- todo: unclear what return value means.
toString
public String toString()
- Overrides:
toString
in class AbstractTextCommand
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.