org.infinispan.server.memcached.commands
Class CasCommand
java.lang.Object
org.infinispan.server.memcached.commands.StorageCommand
org.infinispan.server.memcached.commands.SetCommand
org.infinispan.server.memcached.commands.CasCommand
- All Implemented Interfaces:
- Command, TextCommand
public class CasCommand
- extends SetCommand
CasCommand.
- 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 |
acceptVisitor
public Object acceptVisitor(ChannelHandlerContext ctx,
TextProtocolVisitor next)
throws Throwable
- Specified by:
acceptVisitor
in interface TextCommand
- Overrides:
acceptVisitor
in class SetCommand
- Throws:
Throwable
setData
public Command setData(byte[] data)
throws IOException
- Overrides:
setData
in class StorageCommand
- Throws:
IOException
put
protected Reply put(String key,
int flags,
byte[] data,
long expiry)
- Overrides:
put
in class SetCommand
newCasCommand
public static CasCommand newCasCommand(Cache cache,
StorageParameters params,
long cas,
byte[] data,
boolean noReply)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.