org.jclouds.concurrent.config
Class ScheduledExecutorServiceModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by 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.

Author:
Ignasi Barrera
See Also:
ExecutorServiceModule

Constructor Summary
ScheduledExecutorServiceModule()
           
 
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

ScheduledExecutorServiceModule

public ScheduledExecutorServiceModule()
Method Detail

configure

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


Copyright © 2009-2013 jclouds. All Rights Reserved.