public class NonTxPutFromLoadInterceptor
extends org.infinispan.interceptors.base.BaseCustomInterceptor
TxPutFromLoadInterceptor
.
Invokes PutFromLoadValidator.beginInvalidatingKey(Object, Object)
for each invalidation from
remote node (BeginInvalidationCommand
and sends EndInvalidationCommand
after the transaction
is complete, with help of InvalidationSynchronization
;Constructor and Description |
---|
NonTxPutFromLoadInterceptor(PutFromLoadValidator putFromLoadValidator,
String cacheName) |
Modifier and Type | Method and Description |
---|---|
void |
broadcastEndInvalidationCommand(Object[] keys,
Object sessionTransactionId) |
void |
injectDependencies(CacheCommandInitializer commandInitializer,
org.infinispan.remoting.rpc.RpcManager rpcManager) |
Object |
visitInvalidateCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.InvalidateCommand command) |
getLockAcquisitionTimeout, getLog, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntryRetrievalCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
public NonTxPutFromLoadInterceptor(PutFromLoadValidator putFromLoadValidator, String cacheName)
public void injectDependencies(CacheCommandInitializer commandInitializer, org.infinispan.remoting.rpc.RpcManager rpcManager)
public Object visitInvalidateCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.InvalidateCommand command) throws Throwable
visitInvalidateCommand
in interface org.infinispan.commands.Visitor
visitInvalidateCommand
in class org.infinispan.commands.AbstractVisitor
Throwable
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.