|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.service.queue.EventQueue atg.service.datacollection.DataCollectorQueue
public class DataCollectorQueue
This is a queueing version of the interface atg.service.datacollection.DataCollector. Calls made to this class are queued, then passed on to the listeners of this interface
This class was originally generated by atg.service.queue.EventQueueGenerator using the command java atg.service.queue.EventQueueGenerator atg.service.datacollection.DataCollector
However this queue needs to have a dataListeners array property to work properly and so it has been modified by hand.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
DataCollectorQueue()
|
Method Summary | |
---|---|
void |
addDataItem(java.lang.Object arg0)
Add the given data item to the aggregate |
void |
addDataListener(DataCollector pListener)
|
protected EventQueueElement |
createElement()
Constructs a new blank EventQueueElement. |
protected void |
dispatchElement(EventQueueElement pElem)
Dispatches a Queue element to be handled. |
void |
flush()
Flush data buffers |
int |
getDataListenerCount()
|
DataCollector[] |
getDataListeners()
|
void |
removeDataListener(DataCollector pListener)
|
void |
setDataListeners(DataCollector[] pListeners)
|
Methods inherited from class atg.service.queue.EventQueue |
---|
addElement, dispatchQueueElements, doStartService, doStopService, flushQueue, getElement, getInitialCapacity, getQueuedEventCount, getQueueHead, getQueueSize, getThreadCount, getTransactionManager, getTransactionsEnabled, handleDispatchError, listQueuedElements, setInitialCapacity, setThreadCount, setTransactionManager, setTransactionsEnabled |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DataCollectorQueue()
Method Detail |
---|
protected EventQueueElement createElement()
EventQueue
createElement
in class EventQueue
public void addDataListener(DataCollector pListener)
public void removeDataListener(DataCollector pListener)
public int getDataListenerCount()
public DataCollector[] getDataListeners()
public void setDataListeners(DataCollector[] pListeners)
public void addDataItem(java.lang.Object arg0)
DataListener
addDataItem
in interface DataListener
public void flush()
DataCollector
flush
in interface DataCollector
protected void dispatchElement(EventQueueElement pElem)
EventQueue
dispatchElement
in class EventQueue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |