Package com.netcracker.profiler.metrics
Class CountMetric
java.lang.Object
com.netcracker.profiler.metrics.AbstractMetric
com.netcracker.profiler.metrics.CountMetric
- All Implemented Interfaces:
com.netcracker.profiler.agent.BaseMetric,com.netcracker.profiler.agent.Metric
-
Field Summary
Fields inherited from class com.netcracker.profiler.metrics.AbstractMetric
key, outputVersion -
Constructor Summary
ConstructorsConstructorDescriptionCountMetric(String callType, HashSet<AggregationParameter> aggregationParameters, int outputVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoidprint(StringBuilder out) voidrecordValue(long value, Map<String, Object> params) voidMethods inherited from class com.netcracker.profiler.metrics.AbstractMetric
buildKey, buildKey, equals, getKey, getOutputVersion, getUpdatedTime, hashCode, resetUpdatedTime, setKey, setOutputVersion
-
Constructor Details
-
CountMetric
public CountMetric(String callType, HashSet<AggregationParameter> aggregationParameters, int outputVersion)
-
-
Method Details
-
recordValue
-
resetValue
public void resetValue() -
print
-