org.infinispan.server.memcached.commands
Class StorageCommand

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

public abstract class StorageCommand
extends Object
implements TextCommand

StorageCommand.

Since:
4.1
Author:
Galder ZamarreƱo

Method Summary
 StorageParameters getParams()
           
 CommandType getType()
           
static TextCommand newStorageCommand(Cache<String,Value> cache, CommandType type, StorageParameters params, byte[] data, boolean noReply)
           
 Command setData(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infinispan.server.memcached.commands.TextCommand
acceptVisitor
 
Methods inherited from interface org.infinispan.server.memcached.Command
perform
 

Method Detail

getType

public CommandType getType()
Specified by:
getType in interface TextCommand

setData

public Command setData(byte[] data)
                throws IOException
Throws:
IOException

getParams

public StorageParameters getParams()

newStorageCommand

public static TextCommand newStorageCommand(Cache<String,Value> cache,
                                            CommandType type,
                                            StorageParameters params,
                                            byte[] data,
                                            boolean noReply)
                                     throws IOException
Throws:
IOException

Google Analytics

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