Class ContextControllerHashImpl
java.lang.Object
com.espertech.esper.common.internal.context.controller.core.ContextControllerBase
com.espertech.esper.common.internal.context.controller.hash.ContextControllerHash
com.espertech.esper.common.internal.context.controller.hash.ContextControllerHashImpl
- All Implemented Interfaces:
ContextController
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.context.controller.hash.ContextControllerHash
factory
Fields inherited from class com.espertech.esper.common.internal.context.controller.core.ContextControllerBase
realization
-
Constructor Summary
ConstructorDescriptionContextControllerHashImpl
(ContextControllerHashFactory factory, ContextManagerRealization realization) -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(IntSeqKey path, Object[] parentPartitionKeys, EventBean optionalTriggeringEvent, Map<String, Object> optionalTriggeringPattern) void
deactivate
(IntSeqKey path, boolean terminateChildContexts) void
destroy()
protected int
getSubpathOrCPId
(IntSeqKey path, int hash) void
matchFound
(ContextControllerDetailHashItem item, EventBean theEvent, IntSeqKey controllerPath) void
transfer
(IntSeqKey path, boolean transferChildContexts, AgentInstanceTransferServices xfer) protected void
visitPartitions
(IntSeqKey controllerPath, BiConsumer<Integer, Integer> hashAndCPId) Methods inherited from class com.espertech.esper.common.internal.context.controller.hash.ContextControllerHash
activateByPreallocate, getAgentInstanceContextCreate, getFactory, getRealization, visitSelectedPartitions
-
Constructor Details
-
ContextControllerHashImpl
public ContextControllerHashImpl(ContextControllerHashFactory factory, ContextManagerRealization realization)
-
-
Method Details
-
activate
-
deactivate
-
matchFound
public void matchFound(ContextControllerDetailHashItem item, EventBean theEvent, IntSeqKey controllerPath) -
visitPartitions
- Specified by:
visitPartitions
in classContextControllerHash
-
getSubpathOrCPId
- Specified by:
getSubpathOrCPId
in classContextControllerHash
-
destroy
public void destroy() -
transfer
public void transfer(IntSeqKey path, boolean transferChildContexts, AgentInstanceTransferServices xfer)
-