public class EntranceNode extends DefaultNode
A Node represents the entrance of the invocation tree.
One Context will related to a EntranceNode,
which represents the entrance of the invocation tree. New EntranceNode will be created if
current context does't have one. Note that same context name will share same EntranceNode
globally.
ContextUtil,
ContextUtil.enter(String, String),
NodeSelectorSlot| Constructor and Description |
|---|
EntranceNode(ResourceWrapper id,
ClusterNode clusterNode) |
| Modifier and Type | Method and Description |
|---|---|
long |
avgRt()
Average response per second.
|
long |
blockedQps()
Blocked request per second.
|
long |
blockedRequest()
Blocked request count per minute.
|
int |
curThreadNum()
Current active thread.
|
long |
passQps()
Incoming request per second.
|
long |
successQps()
Outgoing request per second.
|
long |
totalQps()
Incoming request + block request per second.
|
long |
totalRequest()
Incoming request per minute.
|
addChild, addPassRequest, decreaseThreadNum, getChildList, getClusterNode, getId, increaseBlockedQps, increaseExceptionQps, increaseThreadNum, printDefaultNode, removeChildList, rt, setClusterNodedebug, exceptionQps, maxSuccessQps, metrics, minRt, previousBlockQps, previousPassQps, reset, totalException, totalSuccesspublic EntranceNode(ResourceWrapper id, ClusterNode clusterNode)
public long avgRt()
NodeavgRt in interface NodeavgRt in class StatisticNodepublic long blockedQps()
NodeblockedQps in interface NodeblockedQps in class StatisticNodepublic long blockedRequest()
NodeblockedRequest in interface NodeblockedRequest in class StatisticNodepublic int curThreadNum()
NodecurThreadNum in interface NodecurThreadNum in class StatisticNodepublic long totalQps()
NodetotalQps in interface NodetotalQps in class StatisticNodepublic long successQps()
NodesuccessQps in interface NodesuccessQps in class StatisticNodepublic long passQps()
NodepassQps in interface NodepassQps in class StatisticNodepublic long totalRequest()
NodetotalRequest in interface NodetotalRequest in class StatisticNodeCopyright © 2018 Alibaba Group. All rights reserved.