|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.net.spi.BasicTransientMonitor
com.jivesoftware.forum.nntp.spi.CommandMonitorImpl
public class CommandMonitorImpl
Monitors samples using an underlying transient that tracks command-response pairs as a generic sample.
Constructor Summary | |
---|---|
CommandMonitorImpl()
|
Method Summary | |
---|---|
void |
addSample(java.lang.String[] cmdParts,
NNTPResponse response,
long startTime,
long stopTime)
Sample the given NNTP command and pass the sample rate to the underlying BasicTransientMonitor. |
Methods inherited from class com.jivesoftware.forum.net.spi.BasicTransientMonitor |
---|
addSample, addSample, getFirstSampleDate, getFrameRate, getFrameSize, getFrameTotal, getFrameTotalTime, getLastSampleDate, getRate, getTotal, getTotalTime, setFrameSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jivesoftware.forum.net.Monitor |
---|
addSample, addSample, getFirstSampleDate, getFrameRate, getFrameSize, getFrameTotal, getFrameTotalTime, getLastSampleDate, getRate, getTotal, getTotalTime, setFrameSize |
Constructor Detail |
---|
public CommandMonitorImpl()
Method Detail |
---|
public void addSample(java.lang.String[] cmdParts, NNTPResponse response, long startTime, long stopTime)
addSample
in interface CommandMonitor
cmdParts
- the command string broken into an array along spaces.response
- the response sent.startTime
- the time the parsing of the command was started
(system time millis).stopTime
- the time the response was generated (system time millis).
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |