public class PerformanceMonitorQueue
extends java.lang.Object
PerformanceMonitorQueue implements a queue of information regarding performance of the system.| Modifier and Type | Field and Description |
|---|---|
private java.util.Queue<PerformanceInfo> |
perfromanceInfoQueue
Queue of information about the system.
|
| Constructor and Description |
|---|
PerformanceMonitorQueue() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addPerformanceInfo(PerformanceInfo value)
Adds a performance information to the queue.
|
int |
getNumberOfItems()
Gets number of performance information in the queue.
|
PerformanceInfo |
takePerformanceInfo()
Gets a performance information from the queue.
|
private java.util.Queue<PerformanceInfo> perfromanceInfoQueue
protected boolean addPerformanceInfo(PerformanceInfo value)
value - an information to be added to the queuetrue if the information was added, false otherwisepublic PerformanceInfo takePerformanceInfo()
public int getNumberOfItems()