public class TotalOrderDistributionInterceptor extends TxDistributionInterceptor
cdl, dm, rvrl
cf, dataContainer, entryFactory, isL1Enabled, lockManager, needReliableReturnValues, stateTransferManager
defaultSynchronous, rpcManager
cacheConfiguration
Constructor and Description |
---|
TotalOrderDistributionInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected Log |
getLog() |
protected void |
lockAndWrap(InvocationContext ctx,
Object key,
InternalCacheEntry ice,
FlagAffectedCommand command) |
protected void |
prepareOnAffectedNodes(TxInvocationContext ctx,
PrepareCommand command,
Collection<Address> recipients,
boolean sync) |
Object |
visitCommitCommand(TxInvocationContext ctx,
CommitCommand command) |
Object |
visitRollbackCommand(TxInvocationContext ctx,
RollbackCommand command) |
remoteGetBeforeWrite, start, visitClearCommand, visitGetKeyValueCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand
handleNonTxWriteCommand, injectDependencies, retrieveFromRemoteSource
configure, ignorePreviousValueOnBackup, injectDependencies, isNeedReliableReturnValues, isValueAvailableLocally, needsRemoteGet
getIgnoreExtraResponseFilter, getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderAnycastPrepare, totalOrderBroadcastPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPrepared
getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
public Object visitRollbackCommand(TxInvocationContext ctx, RollbackCommand command) throws Throwable
visitRollbackCommand
in interface Visitor
visitRollbackCommand
in class TxDistributionInterceptor
Throwable
public Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand
in interface Visitor
visitCommitCommand
in class TxDistributionInterceptor
Throwable
protected void prepareOnAffectedNodes(TxInvocationContext ctx, PrepareCommand command, Collection<Address> recipients, boolean sync)
prepareOnAffectedNodes
in class TxDistributionInterceptor
protected void lockAndWrap(InvocationContext ctx, Object key, InternalCacheEntry ice, FlagAffectedCommand command) throws InterruptedException
lockAndWrap
in class TxDistributionInterceptor
InterruptedException
protected Log getLog()
getLog
in class BaseDistributionInterceptor
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.