public interface DCNodePerformanceIfc
Modifier and Type | Method and Description |
---|---|
int |
getAvgNarRate()
Returns the average rate per second of nars passing through
the stream handler since the node started.
|
int |
getCurrentNarRate()
Returns the average rate per second of nars passing through
the stream handler since the last performance check.
|
int |
getLastCheckDelta()
Returns difference between the current time and the time of
the last performance check.
|
long |
getNarDelta()
Returns number of nars processed in this check interval.
|
long |
getNars()
Returns total number of nars passed through the stream handler.
|
java.lang.String |
getNodeId()
Returns the string id for the node it came from
|
int |
getNodeUpTime()
Returns time node has been up
|
void |
refreshMetrics() |
void |
reset() |
void |
setActive(java.lang.Integer status) |
void |
setStatus(java.lang.Integer status) |
long getNars()
long getNarDelta()
int getLastCheckDelta()
int getNodeUpTime()
int getAvgNarRate()
int getCurrentNarRate()
java.lang.String getNodeId()
void refreshMetrics()
void setActive(java.lang.Integer status)
void setStatus(java.lang.Integer status)
void reset()