com.schooner.MemCached.command
Class IncrdecrCommand

java.lang.Object
  extended by com.schooner.MemCached.command.Command
      extended by com.schooner.MemCached.command.IncrdecrCommand

public class IncrdecrCommand
extends Command

Increase a digital value in memcached server.

Since:
2.5.0
Author:
Qinliang Lin
See Also:
IncrdecrCommand

Field Summary
static org.slf4j.Logger log
           
static String NOTFOUND
           
 
Fields inherited from class com.schooner.MemCached.command.Command
B_NEXTLINE, B_RETURN, DELIMITER, RETURN, textLine
 
Constructor Summary
IncrdecrCommand(String cmdname, String key, long inc, Integer hashCode)
           
 
Method Summary
 Long getResult()
           
 boolean response(SchoonerSockIO sock, short rid)
           
 
Methods inherited from class com.schooner.MemCached.command.Command
request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.slf4j.Logger log

NOTFOUND

public static final String NOTFOUND
See Also:
Constant Field Values
Constructor Detail

IncrdecrCommand

public IncrdecrCommand(String cmdname,
                       String key,
                       long inc,
                       Integer hashCode)
Method Detail

response

public boolean response(SchoonerSockIO sock,
                        short rid)
                 throws IOException
Throws:
IOException

getResult

public Long getResult()


Copyright © 2012 Schooner Information Technology. All Rights Reserved.