Class 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:
    ExecutorServiceModule
    • Constructor Detail

      • ScheduledExecutorServiceModule

        public ScheduledExecutorServiceModule()
    • Method Detail

      • configure

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