Class StatActionInOut.StatAction
java.lang.Object
com.iohao.net.framework.core.flow.internal.StatActionInOut.StatAction
- Enclosing class:
StatActionInOut
- Author:
- 渔民小镇
-
Method Summary
Modifier and TypeMethodDescriptionlongAverage time costgetTimeRange(long time) Gets the corresponding TimeRange object based on the time cost.toString()
-
Method Details
-
getTimeRange
Gets the corresponding TimeRange object based on the time cost. If no corresponding time range is found, the last element in the configured List is used.- Parameters:
time- Time cost- Returns:
- TimeRange
-
getAvgTime
public long getAvgTime()Average time cost- Returns:
- Average time cost
-
toString
-