Package | Description |
---|---|
com.espertech.esper.client.context |
Context partition selection and descriptors.
|
com.espertech.esper.core.context.mgr |
Context management.
|
com.espertech.esper.core.context.util |
Context partition utility or reference classes.
|
com.espertech.esper.core.service |
Implementation of client package interfaces, glue code
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContextPartitionStateListener> |
EPContextPartitionAdmin.getContextPartitionStateListeners(java.lang.String contextName)
Returns an iterator of context partition state listeners (read-only) for the given context
|
Modifier and Type | Method and Description |
---|---|
void |
EPContextPartitionAdmin.addContextPartitionStateListener(java.lang.String contextName,
ContextPartitionStateListener listener)
Add context partition state listener for the given context
|
void |
EPContextPartitionAdmin.removeContextPartitionStateListener(java.lang.String contextName,
ContextPartitionStateListener listener)
Remove a context partition state listener for the given context
|
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.CopyOnWriteArrayList<ContextPartitionStateListener> |
ContextManagerBase.listenersLazy |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContextPartitionStateListener> |
ContextManagerBase.getListeners() |
java.util.Iterator<ContextPartitionStateListener> |
ContextManager.getListeners() |
Modifier and Type | Method and Description |
---|---|
void |
ContextManagerBase.addListener(ContextPartitionStateListener listener) |
void |
ContextManager.addListener(ContextPartitionStateListener listener) |
void |
ContextManagerBase.removeListener(ContextPartitionStateListener listener) |
void |
ContextManager.removeListener(ContextPartitionStateListener listener) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
ContextStateEventUtil.dispatchPartition(java.util.concurrent.CopyOnWriteArrayList<ContextPartitionStateListener> listeners,
java.util.function.Supplier<T> supplier,
java.util.function.BiConsumer<ContextPartitionStateListener,T> consumer) |
static <T> void |
ContextStateEventUtil.dispatchPartition(java.util.concurrent.CopyOnWriteArrayList<ContextPartitionStateListener> listeners,
java.util.function.Supplier<T> supplier,
java.util.function.BiConsumer<ContextPartitionStateListener,T> consumer) |
Modifier and Type | Method and Description |
---|---|
static void |
StatementAgentInstanceUtil.stopAgentInstances(java.util.List<AgentInstance> agentInstances,
java.util.Map<java.lang.String,java.lang.Object> terminationProperties,
EPServicesContext servicesContext,
boolean isStatementStop,
boolean leaveLocksAcquired,
java.util.concurrent.CopyOnWriteArrayList<ContextPartitionStateListener> listenersLazy,
int cpid,
java.lang.String contextName) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ContextPartitionStateListener> |
EPContextPartitionAdminImpl.getContextPartitionStateListeners(java.lang.String contextName) |
Modifier and Type | Method and Description |
---|---|
void |
EPContextPartitionAdminImpl.addContextPartitionStateListener(java.lang.String contextName,
ContextPartitionStateListener listener) |
void |
EPContextPartitionAdminImpl.removeContextPartitionStateListener(java.lang.String contextName,
ContextPartitionStateListener listener) |