public class ContextControllerPartitioned extends Object implements ContextController, ContextControllerPartitionedInstanceCreateCallback
Modifier and Type | Field and Description |
---|---|
protected ContextControllerLifecycleCallback |
activationCallback |
protected int |
currentSubpathId |
protected ContextControllerPartitionedFactoryImpl |
factory |
protected List<ContextControllerPartitionedFilterCallback> |
filterCallbacks |
protected HashMap<Object,ContextControllerInstanceHandle> |
partitionKeys |
protected int |
pathId |
Constructor and Description |
---|
ContextControllerPartitioned(int pathId,
ContextControllerLifecycleCallback activationCallback,
ContextControllerPartitionedFactoryImpl factory) |
Modifier and Type | Method and Description |
---|---|
void |
activate(EventBean optionalTriggeringEvent,
Map<String,Object> optionalTriggeringPattern,
ContextControllerState controllerState,
ContextInternalFilterAddendum filterAddendum,
Integer importPathId) |
void |
create(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) |
protected final int pathId
protected final ContextControllerLifecycleCallback activationCallback
protected final ContextControllerPartitionedFactoryImpl factory
protected final List<ContextControllerPartitionedFilterCallback> filterCallbacks
protected final HashMap<Object,ContextControllerInstanceHandle> partitionKeys
protected int currentSubpathId
public ContextControllerPartitioned(int pathId, ContextControllerLifecycleCallback activationCallback, ContextControllerPartitionedFactoryImpl factory)
public void importContextPartitions(ContextControllerState state, int pathIdToUse, ContextInternalFilterAddendum filterAddendum, AgentInstanceSelector agentInstanceSelector)
importContextPartitions
in interface ContextController
public void deletePath(ContextPartitionIdentifier identifier)
deletePath
in interface ContextController
public void visitSelectedPartitions(ContextPartitionSelector contextPartitionSelector, ContextPartitionVisitor visitor)
visitSelectedPartitions
in interface ContextController
public void activate(EventBean optionalTriggeringEvent, Map<String,Object> optionalTriggeringPattern, ContextControllerState controllerState, ContextInternalFilterAddendum filterAddendum, Integer importPathId)
activate
in interface ContextController
public ContextControllerFactory getFactory()
getFactory
in interface ContextController
public int getPathId()
getPathId
in interface ContextController
public void deactivate()
deactivate
in interface ContextController
public void create(Object key, EventBean theEvent)
create
in interface ContextControllerPartitionedInstanceCreateCallback