public abstract class AbstractEventQueryImpl extends Object implements EventQuery
Modifier and Type | Field and Description |
---|---|
protected static int |
chunkSize |
protected BoundedQueue<Event> |
events |
protected Executor |
executor |
Constructor and Description |
---|
AbstractEventQueryImpl(Executor executor,
int poolSize) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEvents(List<Event> events,
EventMatcher matcher) |
void |
addListener(EventListener eventListener) |
int |
getCapacity() |
protected void |
notifyEvent(List<Event> event) |
void |
removeListener(EventListener eventListener) |
protected static final int chunkSize
protected final Executor executor
protected final BoundedQueue<Event> events
public AbstractEventQueryImpl(Executor executor, int poolSize)
public void addListener(EventListener eventListener)
addListener
in interface EventQuery
protected void addEvents(List<Event> events, EventMatcher matcher)
public void removeListener(EventListener eventListener)
removeListener
in interface EventQuery
public int getCapacity()
getCapacity
in interface EventQuery
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.