org.infinispan.server.memcached.commands
Class IncrementCommand
java.lang.Object
org.infinispan.server.memcached.commands.NumericCommand
org.infinispan.server.memcached.commands.IncrementCommand
- All Implemented Interfaces:
- Command, TextCommand
public class IncrementCommand
- extends NumericCommand
IncrementCommand.
- Since:
- 4.1
- Author:
- Galder ZamarreƱo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncrementCommand
public IncrementCommand(Cache cache,
CommandType type,
String key,
String delta,
boolean noReply)
acceptVisitor
public Object acceptVisitor(ChannelHandlerContext ctx,
TextProtocolVisitor next)
throws Throwable
- Throws:
Throwable
operate
protected BigInteger operate(BigInteger oldValue,
BigInteger newValue)
- Specified by:
operate
in class NumericCommand
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.