net.rubyeye.xmemcached.command.text
Class TextStatsCommand

java.lang.Object
  extended by net.rubyeye.xmemcached.command.Command
      extended by net.rubyeye.xmemcached.command.text.TextStatsCommand
All Implemented Interfaces:
WriteMessage, ServerAddressAware

public class TextStatsCommand
extends Command
implements ServerAddressAware

Stats command for text protocol

Author:
dennis

Field Summary
static java.nio.ByteBuffer STATS
           
 
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
 
Fields inherited from interface net.rubyeye.xmemcached.command.ServerAddressAware
VERSION
 
Constructor Summary
TextStatsCommand(java.net.InetSocketAddress server, java.util.concurrent.CountDownLatch latch, java.lang.String itemName)
           
 
Method Summary
 boolean decode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)
           
 void encode()
           
 java.lang.String getItemName()
           
 java.net.InetSocketAddress getServer()
           
 void setItemName(java.lang.String item)
           
 void setServer(java.net.InetSocketAddress server)
           
 
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, getTranscoder, getWriteBuffer, getWriteFuture, isCancel, isNoreply, isWriting, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setTranscoder, setWriteBuffer, setWriteFuture, toString, writing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATS

public static final java.nio.ByteBuffer STATS
Constructor Detail

TextStatsCommand

public TextStatsCommand(java.net.InetSocketAddress server,
                        java.util.concurrent.CountDownLatch latch,
                        java.lang.String itemName)
Method Detail

getItemName

public java.lang.String getItemName()

getServer

public final java.net.InetSocketAddress getServer()
Specified by:
getServer in interface ServerAddressAware

setServer

public final void setServer(java.net.InetSocketAddress server)
Specified by:
setServer in interface ServerAddressAware

setItemName

public void setItemName(java.lang.String item)

decode

public final boolean decode(MemcachedTCPSession session,
                            java.nio.ByteBuffer buffer)
Specified by:
decode in class Command

encode

public final void encode()
Specified by:
encode in class Command


Copyright © 2011. All Rights Reserved.