Class PartitionHandlingInterceptor
java.lang.Object
org.infinispan.interceptors.BaseAsyncInterceptor
org.infinispan.interceptors.DDAsyncInterceptor
org.infinispan.partitionhandling.impl.PartitionHandlingInterceptor
- All Implemented Interfaces:
Visitor
,AsyncInterceptor
-
Field Summary
Fields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
handleSingleWrite
(InvocationContext ctx, org.infinispan.commands.write.DataWriteCommand command) protected void
postTxCommandCheck
(InvocationContext rCtx, VisitableCommand rCommand, Object rv) visitClearCommand
(InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) visitCommitCommand
(TxInvocationContext ctx, org.infinispan.commands.tx.CommitCommand command) visitComputeCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) visitComputeIfAbsentCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) visitEntrySetCommand
(InvocationContext ctx, org.infinispan.commands.read.EntrySetCommand command) visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) final Object
visitGetCacheEntryCommand
(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) final Object
visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) visitIracPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.IracPutKeyValueCommand command) visitKeySetCommand
(InvocationContext ctx, org.infinispan.commands.read.KeySetCommand command) visitPrepareCommand
(TxInvocationContext ctx, org.infinispan.commands.tx.PrepareCommand command) visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) visitPutMapCommand
(InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) visitReadWriteKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) visitRemoveCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) visitReplaceCommand
(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) Methods inherited from class org.infinispan.interceptors.DDAsyncInterceptor
handleDefault, visitCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitLockControlCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRollbackCommand, visitSizeCommand, visitTouchCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
Methods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.commands.Visitor
visitRemoveExpiredCommand
-
Constructor Details
-
PartitionHandlingInterceptor
public PartitionHandlingInterceptor()
-
-
Method Details
-
visitPutKeyValueCommand
public Object visitPutKeyValueCommand(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) throws Throwable - Specified by:
visitPutKeyValueCommand
in interfaceVisitor
- Overrides:
visitPutKeyValueCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitIracPutKeyValueCommand
public Object visitIracPutKeyValueCommand(InvocationContext ctx, org.infinispan.commands.write.IracPutKeyValueCommand command) - Specified by:
visitIracPutKeyValueCommand
in interfaceVisitor
- Overrides:
visitIracPutKeyValueCommand
in classDDAsyncInterceptor
-
visitRemoveCommand
public Object visitRemoveCommand(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) throws Throwable - Specified by:
visitRemoveCommand
in interfaceVisitor
- Overrides:
visitRemoveCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitReplaceCommand
public Object visitReplaceCommand(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) throws Throwable - Specified by:
visitReplaceCommand
in interfaceVisitor
- Overrides:
visitReplaceCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitComputeCommand
public Object visitComputeCommand(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) throws Throwable - Specified by:
visitComputeCommand
in interfaceVisitor
- Overrides:
visitComputeCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitComputeIfAbsentCommand
public Object visitComputeIfAbsentCommand(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) throws Throwable - Specified by:
visitComputeIfAbsentCommand
in interfaceVisitor
- Overrides:
visitComputeIfAbsentCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitReadWriteKeyCommand
public Object visitReadWriteKeyCommand(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) throws Throwable - Specified by:
visitReadWriteKeyCommand
in interfaceVisitor
- Overrides:
visitReadWriteKeyCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
handleSingleWrite
protected Object handleSingleWrite(InvocationContext ctx, org.infinispan.commands.write.DataWriteCommand command) -
visitPutMapCommand
public Object visitPutMapCommand(InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) throws Throwable - Specified by:
visitPutMapCommand
in interfaceVisitor
- Overrides:
visitPutMapCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitClearCommand
public Object visitClearCommand(InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) throws Throwable - Specified by:
visitClearCommand
in interfaceVisitor
- Overrides:
visitClearCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitKeySetCommand
public Object visitKeySetCommand(InvocationContext ctx, org.infinispan.commands.read.KeySetCommand command) throws Throwable - Specified by:
visitKeySetCommand
in interfaceVisitor
- Overrides:
visitKeySetCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitEntrySetCommand
public Object visitEntrySetCommand(InvocationContext ctx, org.infinispan.commands.read.EntrySetCommand command) throws Throwable - Specified by:
visitEntrySetCommand
in interfaceVisitor
- Overrides:
visitEntrySetCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitGetKeyValueCommand
public final Object visitGetKeyValueCommand(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) throws Throwable - Specified by:
visitGetKeyValueCommand
in interfaceVisitor
- Overrides:
visitGetKeyValueCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitGetCacheEntryCommand
public final Object visitGetCacheEntryCommand(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) - Specified by:
visitGetCacheEntryCommand
in interfaceVisitor
- Overrides:
visitGetCacheEntryCommand
in classDDAsyncInterceptor
-
visitPrepareCommand
public Object visitPrepareCommand(TxInvocationContext ctx, org.infinispan.commands.tx.PrepareCommand command) throws Throwable - Specified by:
visitPrepareCommand
in interfaceVisitor
- Overrides:
visitPrepareCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
visitCommitCommand
public Object visitCommitCommand(TxInvocationContext ctx, org.infinispan.commands.tx.CommitCommand command) throws Throwable - Specified by:
visitCommitCommand
in interfaceVisitor
- Overrides:
visitCommitCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-
postTxCommandCheck
-
visitGetAllCommand
public Object visitGetAllCommand(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) throws Throwable - Specified by:
visitGetAllCommand
in interfaceVisitor
- Overrides:
visitGetAllCommand
in classDDAsyncInterceptor
- Throws:
Throwable
-