Skip to content

Commit

Permalink
Minor BucketedOutputMapper change: expose bucket config to subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
tsegismont committed Mar 19, 2015
1 parent 5b8a2c4 commit 8b4ead7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
public abstract class BucketedOutputMapper<DATA extends MetricData, METRIC extends Metric<DATA>, POINT>
implements Function<METRIC, BucketedOutput<POINT>> {

private final Buckets buckets;
protected final Buckets buckets;

/**
* @param buckets the bucket configuration
Expand Down Expand Up @@ -115,7 +115,7 @@ public BucketedOutput<POINT> apply(METRIC input) {
* Create a bucket data point from the metric data in this bucket.
*
* @param from timestamp of the bucket
* @param metricDatas metric data in this bucket
* @param metricDatas metric data in this bucket, ordered by {@link MetricData#TIME_UUID_COMPARATOR}
*
* @return a bucket data point summurazing the metric data
*/
Expand Down

0 comments on commit 8b4ead7

Please sign in to comment.