Class ContextManagerRealization
java.lang.Object
com.espertech.esper.common.internal.context.mgr.ContextManagerRealization
- All Implemented Interfaces:
ContextControllerLifecycleCallback
,FilterFaultHandler
public class ContextManagerRealization
extends Object
implements ContextControllerLifecycleCallback, FilterFaultHandler
-
Constructor Summary
ConstructorDescriptionContextManagerRealization
(ContextManagerResident contextManager, AgentInstanceContext agentInstanceContextCreate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextPartitionInstantiate
(IntSeqKey controllerPathId, int subpathId, ContextController originator, EventBean optionalTriggeringEvent, Map<String, Object> optionalPatternForInclusiveEval, Object[] parentPartitionKeys, Object partitionKey) void
contextPartitionRecursiveVisit
(IntSeqKey controllerPath, int subpathOrAgentInstanceId, ContextController originator, ContextPartitionVisitor visitor, ContextPartitionSelector[] selectorPerLevel) void
contextPartitionTerminate
(IntSeqKey controllerPath, int subpathIdOrCPId, ContextController originator, Map<String, Object> terminationProperties, boolean leaveLocksAcquired, List<AgentInstance> agentInstancesLocksHeld) getAgentInstanceIds
(ContextPartitionSelector selector) boolean
handleFilterFault
(EventBean theEvent, long version) void
removeStatement
(ContextControllerStatementDesc statementDesc) void
void
void
startLateStatement
(ContextControllerStatementDesc statement) void
void
void
transferRecursive
(IntSeqKey controllerPath, int subpathOrAgentInstanceId, ContextController originator, AgentInstanceTransferServices xfer)
-
Constructor Details
-
ContextManagerRealization
public ContextManagerRealization(ContextManagerResident contextManager, AgentInstanceContext agentInstanceContextCreate)
-
-
Method Details
-
getContextControllers
-
startContext
public void startContext() -
stopContext
public void stopContext() -
safeDestroyContext
public void safeDestroyContext() -
contextPartitionInstantiate
public ContextPartitionInstantiationResult contextPartitionInstantiate(IntSeqKey controllerPathId, int subpathId, ContextController originator, EventBean optionalTriggeringEvent, Map<String, Object> optionalPatternForInclusiveEval, Object[] parentPartitionKeys, Object partitionKey) - Specified by:
contextPartitionInstantiate
in interfaceContextControllerLifecycleCallback
-
contextPartitionTerminate
public void contextPartitionTerminate(IntSeqKey controllerPath, int subpathIdOrCPId, ContextController originator, Map<String, Object> terminationProperties, boolean leaveLocksAcquired, List<AgentInstance> agentInstancesLocksHeld) - Specified by:
contextPartitionTerminate
in interfaceContextControllerLifecycleCallback
-
startLateStatement
-
getAgentInstanceContextCreate
-
getAgentInstanceIds
-
removeStatement
-
contextPartitionRecursiveVisit
public void contextPartitionRecursiveVisit(IntSeqKey controllerPath, int subpathOrAgentInstanceId, ContextController originator, ContextPartitionVisitor visitor, ContextPartitionSelector[] selectorPerLevel) - Specified by:
contextPartitionRecursiveVisit
in interfaceContextControllerLifecycleCallback
-
getContextManager
-
activateCreateVariableStatement
-
handleFilterFault
- Specified by:
handleFilterFault
in interfaceFilterFaultHandler
-
transfer
-
transferRecursive
public void transferRecursive(IntSeqKey controllerPath, int subpathOrAgentInstanceId, ContextController originator, AgentInstanceTransferServices xfer)
-