public interface MarshallerMetricsAccumulator
Modifier and Type | Method and Description |
---|---|
Collection<MarshallerMetrics> |
getMetricsSnapshots(com.google.common.base.Predicate<? super MarshallerMetricsAccumulationKey> accumulationKeyFilter)
Obtain snapshots of all metrics recorded against keys of the given type so far
|
MarshallerMetricsCollector |
newMetricsCollector(MarshallerMetricsAccumulationKey accumulationKey)
Obtain a collector for recording metrics
|
@Nonnull MarshallerMetricsCollector newMetricsCollector(MarshallerMetricsAccumulationKey accumulationKey)
accumulationKey
- The key against which these metrics will be accumulated. This key is client-specific, and
*must* implement equals and hashCode properly.@Nonnull Collection<MarshallerMetrics> getMetricsSnapshots(com.google.common.base.Predicate<? super MarshallerMetricsAccumulationKey> accumulationKeyFilter)
accumulationKeyFilter
- The filter which determines which accumulation keys we're interested inCopyright © 2003–2015 Atlassian. All rights reserved.