public class ParameterMetric extends Object
| Constructor and Description |
|---|
ParameterMetric() |
| Modifier and Type | Method and Description |
|---|---|
void |
addThreadCount(Object... args) |
void |
clear() |
void |
clearForRule(ParamFlowRule rule) |
void |
decreaseThreadCount(Object... args) |
CacheMap<Object,AtomicLong> |
getRuleTimeCounter(ParamFlowRule rule)
Get the time record counter for given parameter rule.
|
CacheMap<Object,AtomicLong> |
getRuleTokenCounter(ParamFlowRule rule)
Get the token counter for given parameter rule.
|
long |
getThreadCount(int index,
Object value) |
void |
initialize(ParamFlowRule rule) |
public CacheMap<Object,AtomicLong> getRuleTokenCounter(ParamFlowRule rule)
rule - valid parameter rulepublic CacheMap<Object,AtomicLong> getRuleTimeCounter(ParamFlowRule rule)
rule - valid parameter rulepublic void clear()
public void clearForRule(ParamFlowRule rule)
public void initialize(ParamFlowRule rule)
public void decreaseThreadCount(Object... args)
public void addThreadCount(Object... args)
public long getThreadCount(int index,
Object value)
Copyright © 2022 Alibaba Group. All rights reserved.