public interface MarshallerMetricsAccumulator
Modifier and Type | Method and Description |
---|---|
@NonNull 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
|
@NonNull 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–2021 Atlassian. All rights reserved.