public abstract class AbstractInvocationContextFactory extends Object implements InvocationContextFactory
Modifier and Type | Field and Description |
---|---|
protected Configuration |
config |
protected org.infinispan.commons.equivalence.Equivalence |
keyEq |
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. |
void |
init(Configuration config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createInvocationContext, createInvocationContext, createNonTxInvocationContext, createRemoteInvocationContext, createRemoteTxInvocationContext, createSingleKeyNonTxInvocationContext, createTxInvocationContext
protected Configuration config
protected org.infinispan.commons.equivalence.Equivalence keyEq
public void init(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
origin
- 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 © 2018 JBoss, a division of Red Hat. All rights reserved.