|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--SSF.Net.droptailQueueMonitor_1
A prototype queue monitor built atop the SSF.Util.Streams infrastructure, provided as a demonstration. Monitors the IP packet arrivals and drops in a droptailQueue on the NIC on which this droptailQueueMonitor is configured. Computes the average queue length as the time integral of queue length in consecutive time intervals of length probe_interval and writes to the named StreamInterface.
Uses record_type(s): SSF.Net.QueueRecord_1, SSF.Net.QueueProbeIntRecord.
droptailQueue,
droptailRecordPlayer_1,
SSF.Util.Streams| Constructor Summary | |
droptailQueueMonitor_1()
|
|
| Method Summary | |
float |
avgQueueLength()
integral of queue_length(t) in the measurement interval divided by the length of the measurement interval. |
void |
config(NIC ownerNIC,
com.renesys.raceway.DML.Configuration cfg)
configure the Monitor. |
void |
init()
called by SSF.Net.NIC.init() |
void |
receive(ProtocolMessage msg)
Log a packet record as a packet arrives to the queue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public droptailQueueMonitor_1()
| Method Detail |
public void config(NIC ownerNIC,
com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
monitor [
use SSF.Net.droptailQueueMonitor
probe_interval %F # queue length averaging time interval, seconds (double)
debug %S # print verbose diagnostics, true/false
]
config in interface PacketQueueMonitorcom.renesys.raceway.DML.configExceptionpublic void init()
init in interface PacketQueueMonitorpublic void receive(ProtocolMessage msg)
receive in interface PacketQueueMonitorpublic float avgQueueLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||