类的使用
com.alibaba.csp.sentinel.cluster.server.config.ServerFlowConfig
使用ServerFlowConfig的程序包
-
com.alibaba.csp.sentinel.cluster.server.config中ServerFlowConfig的使用
修饰符和类型方法说明ServerFlowConfig.setExceedCount(double exceedCount) ServerFlowConfig.setIntervalMs(int intervalMs) ServerFlowConfig.setMaxAllowedQps(double maxAllowedQps) ServerFlowConfig.setMaxOccupyRatio(double maxOccupyRatio) ServerFlowConfig.setSampleCount(int sampleCount) 修饰符和类型方法说明static booleanClusterServerConfigManager.isValidFlowConfig(ServerFlowConfig config) static voidClusterServerConfigManager.loadFlowConfig(String namespace, ServerFlowConfig config) Load server flow config for a specific namespace.static voidClusterServerConfigManager.loadGlobalFlowConfig(ServerFlowConfig config) Load provided server global statistic (flow) configuration to property in memory.修饰符和类型方法说明static voidClusterServerConfigManager.registerGlobalServerFlowProperty(com.alibaba.csp.sentinel.property.SentinelProperty<ServerFlowConfig> property) Register cluster server global statistic (flow) configuration dynamic property.