public class PessimisticLockingInterceptor extends AbstractTxLockingInterceptor
cdl, invalidationMode, lockManager
cacheConfiguration
Constructor and Description |
---|
PessimisticLockingInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected Log |
getLog() |
protected Object |
handleReadManyCommand(InvocationContext ctx,
FlagAffectedCommand command,
Collection<?> keys) |
protected <K> Object |
handleWriteManyCommand(InvocationContext ctx,
WriteCommand command,
Collection<K> keys,
boolean forwarded) |
protected Object |
visitDataReadCommand(InvocationContext ctx,
DataCommand command) |
protected Object |
visitDataWriteCommand(InvocationContext ctx,
DataWriteCommand command) |
Object |
visitLockControlCommand(TxInvocationContext ctx,
LockControlCommand command) |
Object |
visitPrepareCommand(TxInvocationContext ctx,
PrepareCommand command) |
visitCommitCommand, visitRollbackCommand
getLockTimeoutMillis, lockAndRecord, start, visitClearCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
handleDefault, visitCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeysInGroupCommand, visitKeySetCommand, visitSizeCommand, visitUnknownCommand
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitRemoveExpiredCommand
protected Log getLog()
getLog
in class AbstractLockingInterceptor
protected final Object visitDataReadCommand(InvocationContext ctx, DataCommand command) throws Throwable
visitDataReadCommand
in class AbstractLockingInterceptor
Throwable
protected Object handleReadManyCommand(InvocationContext ctx, FlagAffectedCommand command, Collection<?> keys)
handleReadManyCommand
in class AbstractTxLockingInterceptor
public Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand
in interface Visitor
visitPrepareCommand
in class DDAsyncInterceptor
Throwable
protected <K> Object handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded)
handleWriteManyCommand
in class AbstractLockingInterceptor
protected Object visitDataWriteCommand(InvocationContext ctx, DataWriteCommand command) throws Throwable
visitDataWriteCommand
in class AbstractLockingInterceptor
Throwable
public Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command)
visitLockControlCommand
in interface Visitor
visitLockControlCommand
in class DDAsyncInterceptor
Copyright © 2021 JBoss by Red Hat. All rights reserved.