com.twitter.common.application.modules
Class StatsModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.twitter.common.application.modules.StatsModule
All Implemented Interfaces:
Module

public class StatsModule
extends AbstractModule

Binding module for injections related to the in-process stats system. This modules supports two command line arguments:

Bindings required by this module:


Nested Class Summary
static class StatsModule.StartStatPoller
           
 
Constructor Summary
StatsModule()
           
 
Method Summary
protected  void configure()
           
static Amount<Long,Time> getSamplingInterval()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsModule

public StatsModule()
Method Detail

getSamplingInterval

public static Amount<Long,Time> getSamplingInterval()

configure

protected void configure()
Specified by:
configure in class AbstractModule