public class BatchingInterceptor extends DDAsyncInterceptor
cacheConfiguration
Constructor and Description |
---|
BatchingInterceptor() |
Modifier and Type | Method and Description |
---|---|
Object |
handleDefault(InvocationContext ctx,
VisitableCommand command)
Simply check if there is an ongoing tx.
|
Object |
visitClearCommand(InvocationContext ctx,
ClearCommand command) |
Object |
visitEvictCommand(InvocationContext ctx,
EvictCommand command) |
Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command) |
visitCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
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
public Object visitEvictCommand(InvocationContext ctx, EvictCommand command)
visitEvictCommand
in interface Visitor
visitEvictCommand
in class DDAsyncInterceptor
public Object visitClearCommand(InvocationContext ctx, ClearCommand command)
visitClearCommand
in interface Visitor
visitClearCommand
in class DDAsyncInterceptor
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class DDAsyncInterceptor
Throwable
public Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
handleDefault
in class DDAsyncInterceptor
Throwable
Copyright © 2021 JBoss by Red Hat. All rights reserved.