|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infinispan.query.CommandFactory
public class CommandFactory
Remote commands factory implementation
Constructor Summary | |
---|---|
CommandFactory()
|
Method Summary | |
---|---|
ReplicableCommand |
fromStream(byte commandId,
Object[] args)
Construct and initialize a ReplicableCommand based on the command
id and argument array passed in. |
CacheRpcCommand |
fromStream(byte commandId,
Object[] args,
String cacheName)
Construct and initialize a CacheRpcCommand based on the command
id and argument array passed in. |
Map<Byte,Class<? extends ReplicableCommand>> |
getModuleCommands()
Provides a map of command IDs to command types of all the commands handled by the command factory instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandFactory()
Method Detail |
---|
public Map<Byte,Class<? extends ReplicableCommand>> getModuleCommands()
ModuleCommandFactory
getModuleCommands
in interface ModuleCommandFactory
public ReplicableCommand fromStream(byte commandId, Object[] args)
ModuleCommandFactory
ReplicableCommand
based on the command
id and argument array passed in.
fromStream
in interface ModuleCommandFactory
commandId
- command id to constructargs
- array of arguments with which to initialize the ReplicableCommand
public CacheRpcCommand fromStream(byte commandId, Object[] args, String cacheName)
ExtendedModuleCommandFactory
CacheRpcCommand
based on the command
id and argument array passed in.
fromStream
in interface ExtendedModuleCommandFactory
commandId
- command id to constructargs
- array of arguments with which to initialize the CacheRpcCommand
cacheName
- cache name at which command to be created is directed
CacheRpcCommand
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |