public class NonTxInvalidationInterceptor
extends org.infinispan.interceptors.base.BaseRpcInterceptor
implements org.infinispan.jmx.JmxStatisticsExposer
Constructor and Description |
---|
NonTxInvalidationInterceptor(PutFromLoadValidator putFromLoadValidator) |
Modifier and Type | Method and Description |
---|---|
long |
getInvalidations() |
protected org.infinispan.util.logging.Log |
getLog() |
boolean |
getStatisticsEnabled() |
void |
injectDependencies(org.infinispan.commands.CommandsFactory commandsFactory,
CacheCommandInitializer commandInitializer) |
void |
resetStatistics() |
void |
setStatisticsEnabled(boolean enabled) |
Object |
visitClearCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.ClearCommand command) |
Object |
visitPutKeyValueCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.PutKeyValueCommand command) |
Object |
visitPutMapCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.PutMapCommand command) |
Object |
visitRemoveCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.RemoveCommand command) |
Object |
visitReplaceCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.ReplaceCommand command) |
getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPrepared
getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntryRetrievalCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
public NonTxInvalidationInterceptor(PutFromLoadValidator putFromLoadValidator)
protected org.infinispan.util.logging.Log getLog()
getLog
in class org.infinispan.interceptors.base.CommandInterceptor
public void injectDependencies(org.infinispan.commands.CommandsFactory commandsFactory, CacheCommandInitializer commandInitializer)
public Object visitPutKeyValueCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface org.infinispan.commands.Visitor
visitPutKeyValueCommand
in class org.infinispan.commands.AbstractVisitor
Throwable
public Object visitReplaceCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface org.infinispan.commands.Visitor
visitReplaceCommand
in class org.infinispan.commands.AbstractVisitor
Throwable
public Object visitRemoveCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) throws Throwable
visitRemoveCommand
in interface org.infinispan.commands.Visitor
visitRemoveCommand
in class org.infinispan.commands.AbstractVisitor
Throwable
public Object visitClearCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) throws Throwable
visitClearCommand
in interface org.infinispan.commands.Visitor
visitClearCommand
in class org.infinispan.commands.AbstractVisitor
Throwable
public Object visitPutMapCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) throws Throwable
visitPutMapCommand
in interface org.infinispan.commands.Visitor
visitPutMapCommand
in class org.infinispan.commands.AbstractVisitor
Throwable
public void resetStatistics()
resetStatistics
in interface org.infinispan.jmx.JmxStatisticsExposer
public boolean getStatisticsEnabled()
getStatisticsEnabled
in interface org.infinispan.jmx.JmxStatisticsExposer
public void setStatisticsEnabled(boolean enabled)
setStatisticsEnabled
in interface org.infinispan.jmx.JmxStatisticsExposer
public long getInvalidations()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.