public class StatisticNode extends Object implements Node
| Constructor and Description |
|---|
StatisticNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPassRequest() |
long |
avgRt()
Average response per second.
|
long |
blockedQps()
Blocked request per second.
|
long |
blockedRequest()
Blocked request count per minute.
|
int |
curThreadNum()
Current active thread.
|
void |
debug()
Debug only.
|
void |
decreaseThreadNum() |
long |
exceptionQps()
Exception count per second.
|
void |
increaseBlockedQps() |
void |
increaseExceptionQps() |
void |
increaseThreadNum() |
long |
maxSuccessQps() |
Map<Long,MetricNode> |
metrics() |
long |
minRt() |
long |
passQps()
Incoming request per second.
|
long |
previousBlockQps()
Last seconds block QPS.
|
long |
previousPassQps()
Last window QPS.
|
void |
reset()
Reset the internal counter.
|
void |
rt(long rt) |
long |
successQps()
Outgoing request per second.
|
long |
totalException()
Exception count per minute.
|
long |
totalQps()
Incoming request + block request per second.
|
long |
totalRequest()
Incoming request per minute.
|
long |
totalSuccess() |
public Map<Long,MetricNode> metrics()
public void reset()
Nodepublic long totalRequest()
NodetotalRequest in interface Nodepublic long blockedRequest()
NodeblockedRequest in interface Nodepublic long blockedQps()
NodeblockedQps in interface Nodepublic long previousBlockQps()
NodepreviousBlockQps in interface Nodepublic long previousPassQps()
NodepreviousPassQps in interface Nodepublic long totalQps()
Nodepublic long totalSuccess()
totalSuccess in interface Nodepublic long exceptionQps()
NodeexceptionQps in interface Nodepublic long totalException()
NodetotalException in interface Nodepublic long passQps()
Nodepublic long successQps()
NodesuccessQps in interface Nodepublic long maxSuccessQps()
maxSuccessQps in interface Nodepublic long avgRt()
Nodepublic int curThreadNum()
NodecurThreadNum in interface Nodepublic void addPassRequest()
addPassRequest in interface Nodepublic void increaseBlockedQps()
increaseBlockedQps in interface Nodepublic void increaseExceptionQps()
increaseExceptionQps in interface Nodepublic void increaseThreadNum()
increaseThreadNum in interface Nodepublic void decreaseThreadNum()
decreaseThreadNum in interface NodeCopyright © 2018 Alibaba Group. All rights reserved.