org.infinispan.server.memcached.commands
Class ReplaceCommand

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.ReplaceCommand
All Implemented Interfaces:
Command, TextCommand

public class ReplaceCommand
extends SetCommand

ReplaceCommand.

Since:
4.1
Author:
Galder ZamarreƱo

Method Summary
 Object acceptVisitor(ChannelHandlerContext ctx, TextProtocolVisitor next)
           
protected  Reply put(String key, int flags, byte[] data, long expiry)
           
 
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, setData
 
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

put

protected Reply put(String key,
                    int flags,
                    byte[] data,
                    long expiry)
Overrides:
put in class SetCommand

Google Analytics

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