public class MarshallerMetricsAccumulatorStack extends Object
It is up to client code to manage the stack my calling the push and pop methods appropriately.
Constructor and Description |
---|
MarshallerMetricsAccumulatorStack() |
Modifier and Type | Method and Description |
---|---|
static void |
forEachMetricsSnapshot(ConversionContext context,
com.google.common.base.Predicate<? super MarshallerMetricsAccumulationKey> accumulationKeyFilter,
com.atlassian.fugue.Effect<MarshallerMetrics> effect) |
static com.atlassian.fugue.Maybe<MarshallerMetricsAccumulator> |
getCurrentMetricsAccumulator(ConversionContext context) |
static void |
pop(ConversionContext context) |
static void |
pushNewMetricsAccumulator(ConversionContext context) |
public static void forEachMetricsSnapshot(ConversionContext context, com.google.common.base.Predicate<? super MarshallerMetricsAccumulationKey> accumulationKeyFilter, com.atlassian.fugue.Effect<MarshallerMetrics> effect)
public static com.atlassian.fugue.Maybe<MarshallerMetricsAccumulator> getCurrentMetricsAccumulator(ConversionContext context)
public static void pushNewMetricsAccumulator(@Nullable ConversionContext context)
public static void pop(@Nullable ConversionContext context)
Copyright © 2003–2017 Atlassian. All rights reserved.