public class EvaluateStats extends Object
| Constructor and Description |
|---|
EvaluateStats(com.codahale.metrics.MetricRegistry registry,
Integer dumpStatsFreq,
Integer dumpCacheFreq)
Instantiates a new evaluate statistics.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkAttribute(String attributeId,
boolean isNumeric)
Checks a attribute.
|
void |
checkGroup(String groupId)
Checks a group.
|
void |
checkNode(CollectionResource resource)
Checks a node.
|
void |
checkResource(String resourceId)
Checks a resource.
|
protected void |
dumpCache()
Dumps the content of the cache.
|
void |
markNumericSamplesMeter()
Marks the numeric samples meter.
|
public EvaluateStats(com.codahale.metrics.MetricRegistry registry,
Integer dumpStatsFreq,
Integer dumpCacheFreq)
registry - the metrics registrydumpStatsFreq - the frequency in minutes to dump the statistics to the log filedumpCacheFreq - the frequency in minutes to dump the cache content to the log filepublic void checkNode(CollectionResource resource)
resource - the collection resourcepublic void checkResource(String resourceId)
resourceId - the resource identifierpublic void checkAttribute(String attributeId, boolean isNumeric)
attributeId - the attribute identifierisNumeric - true if the attribute is numericpublic void checkGroup(String groupId)
groupId - the group identifierpublic void markNumericSamplesMeter()
protected void dumpCache()
Copyright © 2022. All rights reserved.