com.twitter.common.application.modules
Class StatsExportModule

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

public class StatsExportModule
extends AbstractModule

Module to enable periodic exporting of registered stats to an external service. This modules supports a single command line argument, stat_export_interval, which controls the export interval (defaulting to 1 minute). Bindings required by this module:


Nested Class Summary
static class StatsExportModule.StartCuckooExporter
           
 
Constructor Summary
StatsExportModule()
           
 
Method Summary
protected  void configure()
           
 
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

StatsExportModule

public StatsExportModule()
Method Detail

configure

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