com.twitter.common.stats
Class Rate.Builder<T extends Number>

java.lang.Object
  extended by com.twitter.common.stats.Rate.Builder<T>
Enclosing class:
Rate<T extends Number>

public static class Rate.Builder<T extends Number>
extends Object


Method Summary
 Rate<T> build()
           
 Rate.Builder<T> withName(String name)
           
 Rate.Builder<T> withScaleFactor(double scaleFactor)
           
 Rate.Builder<T> withWindowSize(int windowSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withName

public Rate.Builder<T> withName(String name)

withWindowSize

public Rate.Builder<T> withWindowSize(int windowSize)

withScaleFactor

public Rate.Builder<T> withScaleFactor(double scaleFactor)

build

public Rate<T> build()