|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specifies the management interface for the
AEFEventQueue
object.
The AEFEventQueue
is a dispatch queue for AEF POSDataProvider
events. When property changes occur, an event is put on the queue representing
that property change. This event is processed by notifying all registered
listeners for that particular property.
Certain statistical information is kept by the AEFEventQueue
such as maximum queue length, average/max wait time for elements on the queue, etc.
The purpose of this MBean is to expose this information.
The ObjectName
of this MBean includes the following attributes, in addition to the SIF
attributes of StoreID
and DeviceID
:
AEFEventQueue
to
synchronize requests for data with pending requests that may cause changes in the data being requested.
Method Summary | |
---|---|
java.lang.Object[] |
getAllPerformanceStatistics()
Retrieve the current performance statistics associated with this EventQueue . |
double |
getAverageMarkerWait()
Retrieve the average amount of time that a marker has had to wait before being processed by this EventQueue , since the last reset. |
double |
getAverageProcessTime()
Retrieve the average amount of time needed to process a request, since the last reset. |
double |
getAverageQueueWait()
Retrieve the average amount of time that a request has had to wait before being processed by this EventQueue , since the last reset. |
int |
getCurrentQueueLength()
Retrieve the current number of requests waiting to be processed by this EventQueue .
|
long |
getMaximumMarkerWait()
Retrieve the maximum amount of time that a marker has had to wait before being processed by this EventQueue , since the last reset. |
long |
getMaximumProcessTime()
Retrieve the maximum amount of time needed to process a request, since the last reset. |
int |
getMaximumQueueLength()
Retrieve the maximum number of requests that have ever waiting to be processed by this EventQueue , since the last reset. |
long |
getMaximumQueueWait()
Retrieve the maximum amount of time that a request has had to wait before being processed by this EventQueue , since the last reset. |
long |
getTotalMarkersProcessed()
Retrieve the total number of markers processed by this EventQueue , since the last reset. |
long |
getTotalProcessed()
Retrieve the total number of requests processed by this EventQueue , since the last reset. |
void |
logStatistics()
Record all of the performance statistics for this EventQueue to the AEF log. |
void |
resetStatistics()
Reset all of the performance statistics for this EventQueue to zero. |
Method Detail |
public java.lang.Object[] getAllPerformanceStatistics()
EventQueue
. This
data is returned as an array of objects as follows. The meaning of the various statistics are described in more detail
in the getter method for the specific attribute.
public long getTotalProcessed()
EventQueue
, since the last reset. This number includes markers.
public int getCurrentQueueLength()
EventQueue
.
This number includes markers.
public int getMaximumQueueLength()
EventQueue
, since the last reset. This number includes markers.
public long getMaximumQueueWait()
EventQueue
, since the last reset.
public long getMaximumProcessTime()
public double getAverageQueueWait()
EventQueue
, since the last reset.
public double getAverageProcessTime()
public long getTotalMarkersProcessed()
EventQueue
, since the last reset.
public double getAverageMarkerWait()
EventQueue
, since the last reset.
public long getMaximumMarkerWait()
EventQueue
, since the last reset.
public void resetStatistics()
EventQueue
to zero.
public void logStatistics()
EventQueue
to the AEF log.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |