com.espertech.esper.core.context.mgr
Class ContextControllerPartitioned
java.lang.Object
com.espertech.esper.core.context.mgr.ContextControllerPartitioned
- All Implemented Interfaces:
- ContextController, ContextControllerPartitionedInstanceCreateCallback
public class ContextControllerPartitioned
- extends java.lang.Object
- implements ContextController, ContextControllerPartitionedInstanceCreateCallback
Method Summary |
void |
activate(EventBean optionalTriggeringEvent,
java.util.Map<java.lang.String,java.lang.Object> optionalTriggeringPattern,
ContextControllerState controllerState,
ContextInternalFilterAddendum filterAddendum,
java.lang.Integer importPathId)
|
void |
create(java.lang.Object key,
EventBean theEvent)
|
void |
deactivate()
|
void |
deletePath(ContextPartitionIdentifier identifier)
|
ContextControllerFactory |
getFactory()
|
int |
getPathId()
|
void |
importContextPartitions(ContextControllerState state,
int pathIdToUse,
ContextInternalFilterAddendum filterAddendum,
AgentInstanceSelector agentInstanceSelector)
|
void |
visitSelectedPartitions(ContextPartitionSelector contextPartitionSelector,
ContextPartitionVisitor visitor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pathId
protected final int pathId
activationCallback
protected final ContextControllerLifecycleCallback activationCallback
factory
protected final ContextControllerPartitionedFactory factory
filterCallbacks
protected final java.util.List<ContextControllerPartitionedFilterCallback> filterCallbacks
partitionKeys
protected final java.util.HashMap<java.lang.Object,ContextControllerInstanceHandle> partitionKeys
currentSubpathId
protected int currentSubpathId
ContextControllerPartitioned
public ContextControllerPartitioned(int pathId,
ContextControllerLifecycleCallback activationCallback,
ContextControllerPartitionedFactory factory)
importContextPartitions
public void importContextPartitions(ContextControllerState state,
int pathIdToUse,
ContextInternalFilterAddendum filterAddendum,
AgentInstanceSelector agentInstanceSelector)
- Specified by:
importContextPartitions
in interface ContextController
deletePath
public void deletePath(ContextPartitionIdentifier identifier)
- Specified by:
deletePath
in interface ContextController
visitSelectedPartitions
public void visitSelectedPartitions(ContextPartitionSelector contextPartitionSelector,
ContextPartitionVisitor visitor)
- Specified by:
visitSelectedPartitions
in interface ContextController
activate
public void activate(EventBean optionalTriggeringEvent,
java.util.Map<java.lang.String,java.lang.Object> optionalTriggeringPattern,
ContextControllerState controllerState,
ContextInternalFilterAddendum filterAddendum,
java.lang.Integer importPathId)
- Specified by:
activate
in interface ContextController
getFactory
public ContextControllerFactory getFactory()
- Specified by:
getFactory
in interface ContextController
getPathId
public int getPathId()
- Specified by:
getPathId
in interface ContextController
deactivate
public void deactivate()
- Specified by:
deactivate
in interface ContextController
create
public void create(java.lang.Object key,
EventBean theEvent)
- Specified by:
create
in interface ContextControllerPartitionedInstanceCreateCallback