public abstract class BaseStateTransferInterceptor extends CommandInterceptor
Modifier and Type | Field and Description |
---|---|
protected StateTransferManager |
stateTransferManager |
cacheConfiguration
Constructor and Description |
---|
BaseStateTransferInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected int |
currentTopologyId() |
void |
init(StateTransferLock stateTransferLock,
Configuration configuration,
StateTransferManager stateTransferManager,
GroupManager groupManager) |
protected void |
logRetry(VisitableCommand command) |
protected void |
updateTopologyId(TopologyAffectedCommand command) |
Object |
visitGetKeysInGroupCommand(InvocationContext ctx,
GetKeysInGroupCommand command) |
protected void |
waitForTransactionData(int topologyId) |
getLockAcquisitionTimeout, getLog, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
protected StateTransferManager stateTransferManager
public void init(StateTransferLock stateTransferLock, Configuration configuration, StateTransferManager stateTransferManager, GroupManager groupManager)
public Object visitGetKeysInGroupCommand(InvocationContext ctx, GetKeysInGroupCommand command)
visitGetKeysInGroupCommand
in class AbstractVisitor
protected final void logRetry(VisitableCommand command)
protected final int currentTopologyId()
protected final void waitForTransactionData(int topologyId)
protected final void updateTopologyId(TopologyAffectedCommand command)
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.