org.infinispan.commands.module
Interface ExtendedModuleCommandFactory

All Superinterfaces:
ModuleCommandFactory
All Known Implementing Classes:
CommandFactory

public interface ExtendedModuleCommandFactory
extends ModuleCommandFactory

Temporary workaround to avoid modifying ModuleCommandFactory interface. This interface should be merged with ModuleCommandFactory in 6.0.

Since:
5.1
Author:
Galder ZamarreƱo

Method Summary
 CacheRpcCommand fromStream(byte commandId, Object[] args, String cacheName)
          Construct and initialize a CacheRpcCommand based on the command id and argument array passed in.
 
Methods inherited from interface org.infinispan.commands.module.ModuleCommandFactory
fromStream, getModuleCommands
 

Method Detail

fromStream

CacheRpcCommand fromStream(byte commandId,
                           Object[] args,
                           String cacheName)
Construct and initialize a CacheRpcCommand based on the command id and argument array passed in.

Parameters:
commandId - command id to construct
args - array of arguments with which to initialize the CacheRpcCommand
cacheName - cache name at which command to be created is directed
Returns:
a CacheRpcCommand

-->

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