|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeMetrics
The metrics associated with a node in the KVS.
Method Summary | |
---|---|
int |
getAvLatencyMs()
Returns the trailing average latency (in ms) over all requests made to this node. |
String |
getDataCenterName()
Returns the data center that hosts the node. |
long |
getFailedRequestCount()
Returns the number of requests that were tried at this node but did not result in a successful response. |
int |
getMaxActiveRequestCount()
Returns the number of requests that were concurrently active for this node at this KVS client. |
String |
getNodeName()
Returns the internal name associated with the node. |
long |
getRequestCount()
Returns the total number of requests processed by the node. |
boolean |
isActive()
Returns true is the node is currently active, that is, it's reachable and can service requests. |
boolean |
isMaster()
Returns true if the node is currently a master. |
Method Detail |
---|
String getNodeName()
String getDataCenterName()
boolean isActive()
boolean isMaster()
int getMaxActiveRequestCount()
long getRequestCount()
long getFailedRequestCount()
int getAvLatencyMs()
Note that since this is a trailing average it's not cleared when the
statistics are cleared via the KVStore.getStats(boolean)
method.
|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |