public class LatestMonitorOnlyQueuedEventDispatcher extends AbstractEventDispatcher implements Runnable, Configurable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
_count |
protected Thread |
_dispatcherThread |
protected boolean |
_killed |
protected int |
_limit |
protected String |
_monitorOutput |
protected Thread |
_monitorThread |
protected Map |
_overrideMap |
protected int |
_priority |
protected List |
_queue |
protected int |
_queueLimit |
protected Map |
_sourcesEventCount |
| Constructor and Description |
|---|
LatestMonitorOnlyQueuedEventDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration conf)
Pass the
Configuration to the Configurable
class. |
void |
dispatch(AccessRightsEvent ev,
AccessRightsListener arl) |
void |
dispatch(AccessRightsEvent ev,
List listeners) |
void |
dispatch(ConnectionEvent ev,
ConnectionListener cl) |
void |
dispatch(ConnectionEvent ev,
List listeners) |
void |
dispatch(ContextExceptionEvent ev,
ContextExceptionListener cel) |
void |
dispatch(ContextExceptionEvent ev,
List listeners) |
void |
dispatch(ContextMessageEvent ev,
ContextMessageListener cml) |
void |
dispatch(ContextMessageEvent ev,
List listeners) |
void |
dispatch(GetEvent ev,
GetListener gl) |
void |
dispatch(GetEvent ev,
List listeners) |
void |
dispatch(MonitorEvent ev,
List listeners) |
void |
dispatch(MonitorEvent ev,
MonitorListener ml) |
void |
dispatch(PutEvent ev,
List listeners) |
void |
dispatch(PutEvent ev,
PutListener pl) |
void |
dispose() |
int |
getPriority() |
protected void |
nonBlockingQueueEvent(gov.aps.jca.event.LatestMonitorOnlyQueuedEventDispatcher.Event ev) |
protected void |
queueEvent(gov.aps.jca.event.LatestMonitorOnlyQueuedEventDispatcher.Event ev) |
protected void |
queueEvent(gov.aps.jca.event.LatestMonitorOnlyQueuedEventDispatcher.Event ev,
boolean doNotBlockRequired) |
void |
run()
Process events in the queue as they are added.
|
void |
runMonitoring()
Monitors queue and outputs logs to the
monitor_log. |
void |
setPriority(int priority) |
protected static int _count
protected volatile boolean _killed
protected int _priority
protected Thread _dispatcherThread
protected List _queue
protected int _queueLimit
protected Map _sourcesEventCount
protected int _limit
protected Map _overrideMap
protected String _monitorOutput
protected Thread _monitorThread
public LatestMonitorOnlyQueuedEventDispatcher()
protected void nonBlockingQueueEvent(gov.aps.jca.event.LatestMonitorOnlyQueuedEventDispatcher.Event ev)
protected void queueEvent(gov.aps.jca.event.LatestMonitorOnlyQueuedEventDispatcher.Event ev)
protected void queueEvent(gov.aps.jca.event.LatestMonitorOnlyQueuedEventDispatcher.Event ev,
boolean doNotBlockRequired)
public void run()
public void dispose()
dispose in interface EventDispatcherdispose in class AbstractEventDispatcherpublic void configure(Configuration conf) throws ConfigurationException
ConfigurableConfiguration to the Configurable
class. This method must always be called after the constructor
and before any other method.configure in interface Configurableconf - the class configurations.ConfigurationException - if an error occurspublic int getPriority()
public void setPriority(int priority)
public void dispatch(ContextMessageEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(ContextExceptionEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(ConnectionEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(AccessRightsEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(MonitorEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(GetEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(PutEvent ev, List listeners)
dispatch in interface EventDispatcherpublic void dispatch(ContextMessageEvent ev, ContextMessageListener cml)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void dispatch(ContextExceptionEvent ev, ContextExceptionListener cel)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void dispatch(ConnectionEvent ev, ConnectionListener cl)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void dispatch(AccessRightsEvent ev, AccessRightsListener arl)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void dispatch(MonitorEvent ev, MonitorListener ml)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void dispatch(GetEvent ev, GetListener gl)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void dispatch(PutEvent ev, PutListener pl)
dispatch in interface EventDispatcherdispatch in class AbstractEventDispatcherpublic void runMonitoring()
monitor_log.Copyright © 2004-2020 EPICS. All Rights Reserved.