类 EntranceNode
java.lang.Object
com.alibaba.csp.sentinel.node.StatisticNode
com.alibaba.csp.sentinel.node.DefaultNode
com.alibaba.csp.sentinel.node.EntranceNode
- 所有已实现的接口:
Node,OccupySupport,DebugSupport
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.
- 作者:
- qinan.qn
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明doubleavgRt()Get average rt per second.doubleblockQps()Get block request per second.longGet blocked request count per minute (totalBlockRequest).intGet current active thread count.doublepassQps()Get pass request per second.doubleGetEntry.exit()request per second.longGet pass count per minute.doubletotalQps()GetNode.passQps()+Node.blockQps()request per second.longGet incoming request per minute (pass + block).从类继承的方法 com.alibaba.csp.sentinel.node.DefaultNode
addChild, addPassRequest, addRtAndSuccess, decreaseThreadNum, getChildList, getClusterNode, getId, increaseBlockQps, increaseExceptionQps, increaseThreadNum, printDefaultNode, removeChildList, setClusterNode从类继承的方法 com.alibaba.csp.sentinel.node.StatisticNode
addOccupiedPass, addWaitingRequest, debug, exceptionQps, maxSuccessQps, metrics, minRt, occupiedPassQps, previousBlockQps, previousPassQps, rawMetricsInMin, reset, totalException, totalSuccess, tryOccupyNext, waiting
-
构造器详细资料
-
EntranceNode
-
-
方法详细资料
-
avgRt
public double avgRt()从接口复制的说明:NodeGet average rt per second.- 指定者:
avgRt在接口中Node- 覆盖:
avgRt在类中StatisticNode- 返回:
- average response time per second
-
blockQps
public double blockQps()从接口复制的说明:NodeGet block request per second.- 指定者:
blockQps在接口中Node- 覆盖:
blockQps在类中StatisticNode- 返回:
- QPS of blocked requests
-
blockRequest
public long blockRequest()从接口复制的说明:NodeGet blocked request count per minute (totalBlockRequest).- 指定者:
blockRequest在接口中Node- 覆盖:
blockRequest在类中StatisticNode- 返回:
- total blocked request count per minute
-
curThreadNum
public int curThreadNum()从接口复制的说明:NodeGet current active thread count.- 指定者:
curThreadNum在接口中Node- 覆盖:
curThreadNum在类中StatisticNode- 返回:
- current active thread count
-
totalQps
public double totalQps()从接口复制的说明:NodeGetNode.passQps()+Node.blockQps()request per second.- 指定者:
totalQps在接口中Node- 覆盖:
totalQps在类中StatisticNode- 返回:
- QPS of passed and blocked requests
-
successQps
public double successQps()从接口复制的说明:NodeGetEntry.exit()request per second.- 指定者:
successQps在接口中Node- 覆盖:
successQps在类中StatisticNode- 返回:
- QPS of completed requests
-
passQps
public double passQps()从接口复制的说明:NodeGet pass request per second.- 指定者:
passQps在接口中Node- 覆盖:
passQps在类中StatisticNode- 返回:
- QPS of passed requests
-
totalRequest
public long totalRequest()从接口复制的说明:NodeGet incoming request per minute (pass + block).- 指定者:
totalRequest在接口中Node- 覆盖:
totalRequest在类中StatisticNode- 返回:
- total request count per minute
-
totalPass
public long totalPass()从接口复制的说明:NodeGet pass count per minute.- 指定者:
totalPass在接口中Node- 覆盖:
totalPass在类中StatisticNode- 返回:
- total passed request count per minute
-