org.infinispan.server.memcached.commands
Class CasCommand

java.lang.Object
  extended by org.infinispan.server.memcached.commands.StorageCommand
      extended by org.infinispan.server.memcached.commands.SetCommand
          extended by org.infinispan.server.memcached.commands.CasCommand
All Implemented Interfaces:
Command, TextCommand

public class CasCommand
extends SetCommand

CasCommand.

Since:
4.1
Author:
Galder ZamarreƱo

Method Summary
 Object acceptVisitor(ChannelHandlerContext ctx, TextProtocolVisitor next)
           
static CasCommand newCasCommand(Cache cache, StorageParameters params, long cas, byte[] data, boolean noReply)
           
protected  Reply put(String key, int flags, byte[] data, long expiry)
           
 Command setData(byte[] data)
           
 
Methods inherited from class org.infinispan.server.memcached.commands.SetCommand
perform, put
 
Methods inherited from class org.infinispan.server.memcached.commands.StorageCommand
getParams, getType, newStorageCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.