Package org.apache.beam.sdk.metrics
Class DelegatingDistribution
java.lang.Object
org.apache.beam.sdk.metrics.DelegatingDistribution
- All Implemented Interfaces:
 Serializable,Distribution,Metric
@Internal
public class DelegatingDistribution
extends Object
implements Metric, Distribution, Serializable
Implementation of 
Distribution that delegates to the instance for the current context.- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetName()TheMetricNamegiven to this metric.voidupdate(long value) Add an observation to this distribution.voidupdate(long sum, long count, long min, long max)  
- 
Constructor Details
- 
DelegatingDistribution
 - 
DelegatingDistribution
 
 - 
 - 
Method Details
- 
update
public void update(long value) Description copied from interface:DistributionAdd an observation to this distribution.- Specified by:
 updatein interfaceDistribution
 - 
update
public void update(long sum, long count, long min, long max) - Specified by:
 updatein interfaceDistribution
 - 
getName
Description copied from interface:MetricTheMetricNamegiven to this metric. 
 -