public class SystemRuleUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
getAveRt()
get the average response time
|
static double |
getCurrentCpuUsage()
get cpu usage
|
static double |
getCurrentLoad()
get system load
|
static double |
getMaxThreadNum()
gets the maximum number of threads
|
static double |
getMinRt()
gets the minimum response time
|
static double |
getQps()
get qps
|
static long |
getThreadNum()
get thread count
|
static boolean |
isEnableSystemAdaptive()
obtain the system adaptive switch status
|
static boolean |
isEnableSystemRule()
Obtain the system rule flow control switch information
|
public static boolean isEnableSystemAdaptive()
public static boolean isEnableSystemRule()
public static double getQps()
public static long getThreadNum()
public static double getAveRt()
public static double getCurrentLoad()
public static double getCurrentCpuUsage()
public static double getMaxThreadNum()
public static double getMinRt()
Copyright © 2025. All rights reserved.