public class UnorderedDistributionInterceptor
extends org.infinispan.interceptors.distribution.NonTxDistributionInterceptor
TombstoneCallInterceptor
or VersionedCallInterceptor
does not rely on the order how these are applied (the updates are commutative), this interceptor
simply sends any command to all other owners without ordering them through primary owner.
Note that LockingInterceptor
is required in the stack as locking on backup is not guaranteed
by primary owner.cdl, dm, isL1Enabled, rvrl
cf, dataContainer, entryFactory, lockManager, stateTransferManager
Constructor and Description |
---|
UnorderedDistributionInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
inject(org.infinispan.distribution.DistributionManager distributionManager) |
void |
start() |
java.lang.Object |
visitPutKeyValueCommand(org.infinispan.context.InvocationContext ctx,
org.infinispan.commands.write.PutKeyValueCommand command) |
remoteGetBeforeWrite, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand, writeNeedsRemoteValue
configure, fetchValueLocallyIfAvailable, getLog, handleNonTxWriteCommand, injectDependencies, isValueAvailableLocally, readNeedsRemoteValue, retrieveFromRemoteSource, retrieveFromRemoteSources, valueIsMissing, visitClearCommand, visitGetAllCommand, visitGetKeysInGroupCommand
getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPrepared
getCacheWithFlags, getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand
public void inject(org.infinispan.distribution.DistributionManager distributionManager)
public void start()
public java.lang.Object visitPutKeyValueCommand(org.infinispan.context.InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) throws java.lang.Throwable
visitPutKeyValueCommand
in interface org.infinispan.commands.Visitor
visitPutKeyValueCommand
in class org.infinispan.interceptors.distribution.NonTxDistributionInterceptor
java.lang.Throwable
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.