Package org.graylog2.shared.initializers
Class InputSetupService
java.lang.Object
com.google.common.util.concurrent.AbstractExecutionThreadService
org.graylog2.shared.initializers.InputSetupService
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
@Singleton
public class InputSetupService
extends com.google.common.util.concurrent.AbstractExecutionThreadService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Constructor Summary
ConstructorDescriptionInputSetupService
(InputRegistry inputRegistry, com.google.common.eventbus.EventBus eventBus, InputLauncher inputLauncher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
lifecycleChanged
(Lifecycle lifecycle) protected void
run()
protected void
shutDown()
protected void
startUp()
protected void
Methods inherited from class com.google.common.util.concurrent.AbstractExecutionThreadService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, startAsync, state, stopAsync, toString
-
Constructor Details
-
Method Details
-
startUp
- Overrides:
startUp
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
Exception
-
lifecycleChanged
-
run
- Specified by:
run
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
Exception
-
triggerShutdown
protected void triggerShutdown()- Overrides:
triggerShutdown
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
-
shutDown
- Overrides:
shutDown
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
Exception
-