org.infinispan.server.memcached.commands
Class StorageCommand
java.lang.Object
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
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.Command |
perform |
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
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.