public class CacheCommandInitializer extends Object implements org.infinispan.commands.module.ModuleCommandInitializer
Constructor and Description |
---|
CacheCommandInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
addPutFromLoadValidator(String cacheName,
PutFromLoadValidator putFromLoadValidator) |
BeginInvalidationCommand |
buildBeginInvalidationCommand(Set<org.infinispan.context.Flag> flags,
Object[] keys,
Object sessionTransactionId) |
EndInvalidationCommand |
buildEndInvalidationCommand(String cacheName,
Object[] keys,
Object sessionTransactionId) |
EvictAllCommand |
buildEvictAllCommand(String regionName)
Build an instance of
EvictAllCommand for a given region. |
void |
initializeReplicableCommand(org.infinispan.commands.ReplicableCommand c,
boolean isRemote) |
void |
injectDependencies(org.infinispan.notifications.cachelistener.CacheNotifier notifier,
org.infinispan.configuration.cache.Configuration configuration,
org.infinispan.interceptors.locking.ClusteringDependentLogic clusteringDependentLogic) |
PutFromLoadValidator |
removePutFromLoadValidator(String cacheName) |
public void injectDependencies(org.infinispan.notifications.cachelistener.CacheNotifier notifier, org.infinispan.configuration.cache.Configuration configuration, org.infinispan.interceptors.locking.ClusteringDependentLogic clusteringDependentLogic)
public void addPutFromLoadValidator(String cacheName, PutFromLoadValidator putFromLoadValidator)
public PutFromLoadValidator removePutFromLoadValidator(String cacheName)
public EvictAllCommand buildEvictAllCommand(String regionName)
EvictAllCommand
for a given region.regionName
- name of region for EvictAllCommand
EvictAllCommand
public BeginInvalidationCommand buildBeginInvalidationCommand(Set<org.infinispan.context.Flag> flags, Object[] keys, Object sessionTransactionId)
public EndInvalidationCommand buildEndInvalidationCommand(String cacheName, Object[] keys, Object sessionTransactionId)
public void initializeReplicableCommand(org.infinispan.commands.ReplicableCommand c, boolean isRemote)
initializeReplicableCommand
in interface org.infinispan.commands.module.ModuleCommandInitializer
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.