com.netflix.servo.monitor
Class BucketConfig.Builder

java.lang.Object
  extended by com.netflix.servo.monitor.BucketConfig.Builder
Enclosing class:
BucketConfig

public static class BucketConfig.Builder
extends java.lang.Object


Constructor Summary
BucketConfig.Builder()
           
 
Method Summary
 BucketConfig build()
           
 BucketConfig.Builder withBuckets(long[] buckets)
          Sets the buckets to be used.
 BucketConfig.Builder withTimeUnit(java.util.concurrent.TimeUnit timeUnit)
          Sets the timeunit for the buckets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BucketConfig.Builder

public BucketConfig.Builder()
Method Detail

withTimeUnit

public BucketConfig.Builder withTimeUnit(java.util.concurrent.TimeUnit timeUnit)
Sets the timeunit for the buckets.


withBuckets

public BucketConfig.Builder withBuckets(long[] buckets)
Sets the buckets to be used.


build

public BucketConfig build()