public class MetricsCache extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
MetricsCache.Record
Cached record
|
构造器和说明 |
---|
MetricsCache() |
限定符和类型 | 方法和说明 |
---|---|
MetricsCache.Record |
get(String name,
Collection<MetricsTag> tags)
Get the cached record
|
MetricsCache.Record |
update(MetricsRecord mr) |
MetricsCache.Record |
update(MetricsRecord mr,
boolean includingTags)
Update the cache and return the cached record
|
public MetricsCache.Record update(MetricsRecord mr, boolean includingTags)
mr
- the update recordincludingTags
- cache tag values (for later lookup by name) if truepublic MetricsCache.Record update(MetricsRecord mr)
public MetricsCache.Record get(String name, Collection<MetricsTag> tags)
name
- of the recordtags
- of the recordCopyright © 2009 The Apache Software Foundation