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 |
|---|---|
double |
avgRt()
Get average rt per second.
|
double |
blockQps()
Get block request per second.
|
long |
blockRequest()
Get blocked request count per minute (totalBlockRequest).
|
int |
curThreadNum()
Get current active thread count.
|
double |
passQps()
Get pass request per second.
|
double |
successQps()
Get
Entry.exit() request per second. |
long |
totalPass()
Get pass count per minute.
|
double |
totalQps()
Get
Node.passQps() + Node.blockQps() request per second. |
long |
totalRequest()
Get incoming request per minute (
pass + block). |
addChild, addPassRequest, addRtAndSuccess, decreaseThreadNum, getChildList, getClusterNode, getId, increaseBlockQps, increaseExceptionQps, increaseThreadNum, printDefaultNode, removeChildList, setClusterNodeaddOccupiedPass, addWaitingRequest, debug, exceptionQps, maxSuccessQps, metrics, minRt, occupiedPassQps, previousBlockQps, previousPassQps, rawMetricsInMin, reset, totalException, totalSuccess, tryOccupyNext, waitingpublic EntranceNode(ResourceWrapper id, ClusterNode clusterNode)
public double avgRt()
NodeavgRt in interface NodeavgRt in class StatisticNodepublic double blockQps()
NodeblockQps in interface NodeblockQps in class StatisticNodepublic long blockRequest()
NodeblockRequest in interface NodeblockRequest in class StatisticNodepublic int curThreadNum()
NodecurThreadNum in interface NodecurThreadNum in class StatisticNodepublic double totalQps()
NodeNode.passQps() + Node.blockQps() request per second.totalQps in interface NodetotalQps in class StatisticNodepublic double successQps()
NodeEntry.exit() request per second.successQps in interface NodesuccessQps in class StatisticNodepublic double passQps()
NodepassQps in interface NodepassQps in class StatisticNodepublic long totalRequest()
Nodepass + block).totalRequest in interface NodetotalRequest in class StatisticNodepublic long totalPass()
NodetotalPass in interface NodetotalPass in class StatisticNodeCopyright © 2019 Alibaba Group. All rights reserved.