org.infinispan.server.memcached.commands
Class SetCommand

java.lang.Object
  extended by org.infinispan.server.memcached.commands.StorageCommand
      extended by org.infinispan.server.memcached.commands.SetCommand
All Implemented Interfaces:
Command, TextCommand
Direct Known Subclasses:
AddCommand, AppendCommand, CasCommand, ReplaceCommand

public class SetCommand
extends StorageCommand

SetCommand.

Since:
4.1
Author:
Galder ZamarreƱo

Method Summary
 Object acceptVisitor(ChannelHandlerContext ctx, TextProtocolVisitor next)
           
 Object perform(ChannelHandlerContext ctx)
           
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.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
Throws:
Throwable

perform

public Object perform(ChannelHandlerContext ctx)
               throws Exception
Throws:
Exception

put

protected Reply put(String key,
                    int flags,
                    byte[] data)

put

protected Reply put(String key,
                    int flags,
                    byte[] data,
                    long expiry)

Google Analytics

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