org.infinispan.server.memcached.commands
Class AppendCommand

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.AppendCommand
All Implemented Interfaces:
Command, TextCommand
Direct Known Subclasses:
PrependCommand

public class AppendCommand
extends SetCommand

AppendCommand.

Since:
4.1
Author:
Galder ZamarreƱo

Method Summary
 Object acceptVisitor(ChannelHandlerContext ctx, TextProtocolVisitor next)
           
protected  byte[] concat(byte[] current, byte[] append)
           
protected  Reply put(String key, int flags, byte[] data)
           
protected  Reply put(String key, int flags, byte[] data, long expiry)
           
 
Methods inherited from class org.infinispan.server.memcached.commands.SetCommand
perform
 
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)
Overrides:
put in class SetCommand

concat

protected byte[] concat(byte[] current,
                        byte[] append)

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.