Class ScheduledExecutorServiceModule

java.lang.Object
com.google.inject.AbstractModule
org.jclouds.concurrent.config.ScheduledExecutorServiceModule
All Implemented Interfaces:
com.google.inject.Module

public class ScheduledExecutorServiceModule extends com.google.inject.AbstractModule
Provides an ScheduledExecutorService to run periodical tasks such as virtual machine monitoring, etc.

This module is not registered by default in the context because some providers do not allow to spawn threads.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScheduledExecutorServiceModule

      public ScheduledExecutorServiceModule()
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule