Package ch.rswk.meta.engine.dagger
Class EngineRuntimeModule
java.lang.Object
ch.rswk.meta.engine.dagger.EngineRuntimeModule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<com.google.common.util.concurrent.Service> com.codahale.metrics.health.HealthCheckRegistrycom.google.common.util.concurrent.ListeningExecutorServicegetListeningExecutor(com.codahale.metrics.MetricRegistry registry) com.google.common.util.concurrent.ListeningScheduledExecutorServicegetListeningScheduledExecutor(com.codahale.metrics.MetricRegistry registry) com.codahale.metrics.MetricRegistrycom.google.common.util.concurrent.ServiceManagergetServiceManager(Set<com.google.common.util.concurrent.Service> services)
-
Field Details
-
THREAD_NAME_FORMAT
- See Also:
-
SCHEDULED_THREAD_NAME_FORMAT
- See Also:
-
-
Constructor Details
-
EngineRuntimeModule
public EngineRuntimeModule()
-
-
Method Details
-
getListeningExecutor
@Provides @Singleton public com.google.common.util.concurrent.ListeningExecutorService getListeningExecutor(com.codahale.metrics.MetricRegistry registry) -
getListeningScheduledExecutor
@Provides @Singleton public com.google.common.util.concurrent.ListeningScheduledExecutorService getListeningScheduledExecutor(com.codahale.metrics.MetricRegistry registry) -
getMetricRegistry
@Provides @Singleton public com.codahale.metrics.MetricRegistry getMetricRegistry() -
getHealthCheckRegistry
@Provides @Singleton public com.codahale.metrics.health.HealthCheckRegistry getHealthCheckRegistry() -
getDefaultFileWatchers
-
getDefaultServices
@Provides @ElementsIntoSet public Set<com.google.common.util.concurrent.Service> getDefaultServices() -
getServiceManager
@Provides @Singleton public com.google.common.util.concurrent.ServiceManager getServiceManager(Set<com.google.common.util.concurrent.Service> services)
-