Class ContextControllerHash
java.lang.Object
com.espertech.esper.common.internal.context.controller.core.ContextControllerBase
com.espertech.esper.common.internal.context.controller.hash.ContextControllerHash
- All Implemented Interfaces:
ContextController
- Direct Known Subclasses:
ContextControllerHashImpl
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.context.controller.core.ContextControllerBase
realization
-
Constructor Summary
ConstructorDescriptionContextControllerHash
(ContextManagerRealization realization, ContextControllerHashFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
activateByPreallocate
(IntSeqKey path, Object[] parentPartitionKeys, EventBean optionalTriggeringEvent) protected abstract int
getSubpathOrCPId
(IntSeqKey path, int hash) protected abstract void
visitPartitions
(IntSeqKey controllerPath, BiConsumer<Integer, Integer> hashAndCPId) void
visitSelectedPartitions
(IntSeqKey path, ContextPartitionSelector selector, ContextPartitionVisitor visitor, ContextPartitionSelector[] selectorPerLevel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.context.controller.core.ContextController
activate, deactivate, destroy, transfer
-
Field Details
-
factory
-
-
Constructor Details
-
ContextControllerHash
public ContextControllerHash(ContextManagerRealization realization, ContextControllerHashFactory factory)
-
-
Method Details
-
visitPartitions
protected abstract void visitPartitions(IntSeqKey controllerPath, BiConsumer<Integer, Integer> hashAndCPId) -
getSubpathOrCPId
-
visitSelectedPartitions
public void visitSelectedPartitions(IntSeqKey path, ContextPartitionSelector selector, ContextPartitionVisitor visitor, ContextPartitionSelector[] selectorPerLevel) -
getAgentInstanceContextCreate
-
getFactory
-
getRealization
- Specified by:
getRealization
in interfaceContextController
- Overrides:
getRealization
in classContextControllerBase
-
activateByPreallocate
-