public abstract class BaseDistributionInterceptor extends ClusteringInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected ClusteringDependentLogic |
cdl |
protected DistributionManager |
dm |
protected RemoteValueRetrievedListener |
rvrl |
cf, dataContainer, entryFactory, lockManager, needReliableReturnValues, stateTransferManagerdefaultSynchronous, rpcManagercacheConfiguration| Constructor and Description |
|---|
BaseDistributionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
protected Object |
handleNonTxWriteCommand(InvocationContext ctx,
DataWriteCommand command) |
void |
injectDependencies(DistributionManager distributionManager,
ClusteringDependentLogic cdl,
RemoteValueRetrievedListener rvrl) |
protected abstract void |
remoteGetBeforeWrite(InvocationContext ctx,
WriteCommand command,
org.infinispan.interceptors.distribution.BaseDistributionInterceptor.RecipientGenerator keygen) |
protected InternalCacheEntry |
retrieveFromRemoteSource(Object key,
InvocationContext ctx,
boolean acquireRemoteLock,
FlagAffectedCommand command,
boolean isWrite)
Retrieves a cache entry from a remote source.
|
configure, ignorePreviousValueOnBackup, injectDependencies, isNeedReliableReturnValues, needsRemoteGetgetIgnoreExtraResponseFilter, getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderAnycastPrepare, totalOrderBroadcastPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPreparedgetLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandprotected DistributionManager dm
protected ClusteringDependentLogic cdl
protected RemoteValueRetrievedListener rvrl
protected Log getLog()
getLog in class CommandInterceptorpublic void injectDependencies(DistributionManager distributionManager, ClusteringDependentLogic cdl, RemoteValueRetrievedListener rvrl)
protected final InternalCacheEntry retrieveFromRemoteSource(Object key, InvocationContext ctx, boolean acquireRemoteLock, FlagAffectedCommand command, boolean isWrite) throws Exception
ClusteringInterceptorClusteredGetCommand
and some form of quorum of responses if the responses returned are inconsistent - often the case if there is a
rehash in progress, involving nodes that the key maps to.retrieveFromRemoteSource in class ClusteringInterceptorkey - key to look upisWrite - true if this is triggered by a write operationExceptionprotected final Object handleNonTxWriteCommand(InvocationContext ctx, DataWriteCommand command) throws Throwable
Throwableprotected abstract void remoteGetBeforeWrite(InvocationContext ctx, WriteCommand command, org.infinispan.interceptors.distribution.BaseDistributionInterceptor.RecipientGenerator keygen) throws Throwable
ThrowableCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.