public class OptimisticLockingInterceptor extends AbstractTxLockingInterceptor
cdl, invalidationMode, lockManagercacheConfiguration| Constructor and Description |
|---|
OptimisticLockingInterceptor() |
| 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, visitRollbackCommandgetLockTimeoutMillis, lockAndRecord, start, visitClearCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandhandleDefault, visitCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeysInGroupCommand, visitKeySetCommand, visitSizeCommand, visitUnknownCommandasyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitRemoveExpiredCommandprotected Log getLog()
getLog in class AbstractLockingInterceptorpublic Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand in interface VisitorvisitPrepareCommand in class DDAsyncInterceptorThrowableprotected Object visitDataReadCommand(InvocationContext ctx, DataCommand command) throws Throwable
visitDataReadCommand in class AbstractLockingInterceptorThrowableprotected Object visitDataWriteCommand(InvocationContext ctx, DataWriteCommand command) throws Throwable
visitDataWriteCommand in class AbstractLockingInterceptorThrowableprotected Object handleReadManyCommand(InvocationContext ctx, FlagAffectedCommand command, Collection<?> keys)
handleReadManyCommand in class AbstractTxLockingInterceptorprotected <K> Object handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded) throws Throwable
handleWriteManyCommand in class AbstractLockingInterceptorThrowablepublic Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command) throws Throwable
visitLockControlCommand in interface VisitorvisitLockControlCommand in class DDAsyncInterceptorThrowableCopyright © 2022 JBoss by Red Hat. All rights reserved.