org.infinispan.query
Class CommandInitializer
java.lang.Object
org.infinispan.query.CommandInitializer
- All Implemented Interfaces:
- ModuleCommandInitializer
public class CommandInitializer
- extends Object
- implements ModuleCommandInitializer
Initializes query module remote commands
- Since:
- 5.1
- Author:
- Israel Lacerra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandInitializer
public CommandInitializer()
setCache
public void setCache(Cache<?,?> cache)
initializeReplicableCommand
public void initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
- Description copied from interface:
ModuleCommandInitializer
- Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[])
with
necessary named-cache-specific components.
- Specified by:
initializeReplicableCommand
in interface ModuleCommandInitializer
- Parameters:
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.