Package ch.rswk.meta.engine
Class AbstractEngineExecutionThreadService<C>
java.lang.Object
com.google.common.util.concurrent.AbstractExecutionThreadService
ch.rswk.meta.engine.AbstractEngineExecutionThreadService<C>
- All Implemented Interfaces:
EngineServices.ConfigurableService<C>
,EngineServices.InfoProvidingService
,com.google.common.util.concurrent.Service
- Direct Known Subclasses:
AbstractEngineWorkQueueService
,HttpService
public abstract class AbstractEngineExecutionThreadService<C>
extends com.google.common.util.concurrent.AbstractExecutionThreadService
implements EngineServices.ConfigurableService<C>, EngineServices.InfoProvidingService
-
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicReference
<C> private io.reactivex.rxjava3.disposables.Disposable
protected EngineRuntime
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.util.concurrent.AbstractExecutionThreadService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, run, startAsync, state, stopAsync, toString, triggerShutdown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.rswk.meta.engine.EngineServices.ConfigurableService
config, onConfigChanged
Methods inherited from interface ch.rswk.meta.engine.EngineServices.InfoProvidingService
getServiceInfo
-
Field Details
-
configClass
-
configReference
-
runtime
-
configWatcherSub
private io.reactivex.rxjava3.disposables.Disposable configWatcherSub
-
-
Constructor Details
-
AbstractEngineExecutionThreadService
-
-
Method Details
-
startUp
- Overrides:
startUp
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
Exception
-
shutDown
- Overrides:
shutDown
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
Exception
-
serviceName
- Overrides:
serviceName
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
-
configClass
- Specified by:
configClass
in interfaceEngineServices.ConfigurableService<C>
-
configReference
- Specified by:
configReference
in interfaceEngineServices.ConfigurableService<C>
-