public abstract class AbstractInvocationContextFactory extends Object implements InvocationContextFactory
Modifier and Type | Field and Description |
---|---|
protected Configuration |
config |
UNBOUNDED
Constructor and Description |
---|
AbstractInvocationContextFactory() |
Modifier and Type | Method and Description |
---|---|
InvocationContext |
createClearNonTxInvocationContext()
Will create an
ClearInvocationContext with the AbstractInvocationContext.isOriginLocal() returning true. |
InvocationContext |
createRemoteInvocationContextForCommand(VisitableCommand cacheCommand,
Address origin)
As
InvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address) ,
but returning the flags to the context from the Command if any Flag was set. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createInvocationContext, createInvocationContext, createNonTxInvocationContext, createRemoteInvocationContext, createRemoteTxInvocationContext, createSingleKeyNonTxInvocationContext, createTxInvocationContext
protected Configuration config
public InvocationContext createRemoteInvocationContextForCommand(VisitableCommand cacheCommand, Address origin)
InvocationContextFactory
InvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address)
,
but returning the flags to the context from the Command if any Flag was set.createRemoteInvocationContextForCommand
in interface InvocationContextFactory
cacheCommand
- the remote commandorigin
- the origin of the command, or null if localpublic final InvocationContext createClearNonTxInvocationContext()
InvocationContextFactory
ClearInvocationContext
with the AbstractInvocationContext.isOriginLocal()
returning true.createClearNonTxInvocationContext
in interface InvocationContextFactory
Copyright © 2021 JBoss by Red Hat. All rights reserved.