public class CacheCommandInitializer extends Object implements ModuleCommandInitializer
Constructor and Description |
---|
CacheCommandInitializer() |
Modifier and Type | Method and Description |
---|---|
EvictAllCommand |
buildEvictAllCommand(String regionName) |
void |
initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[]) with
necessary named-cache-specific components. |
public EvictAllCommand buildEvictAllCommand(String regionName)
public void initializeReplicableCommand(ReplicableCommand c, boolean isRemote)
ModuleCommandInitializer
ModuleCommandFactory.fromStream(byte, Object[])
with
necessary named-cache-specific components.initializeReplicableCommand
in interface ModuleCommandInitializer
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.