Package ch.rswk.meta.engine
Class AbstractEngineIdleService<C>
java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
ch.rswk.meta.engine.AbstractEngineIdleService<C>
- All Implemented Interfaces:
EngineServices.ConfigurableService<C>
,EngineServices.InfoProvidingService
,com.google.common.util.concurrent.Service
- Direct Known Subclasses:
ActionService
,ActionServiceTest.TestService
,DatabaseService
,EngineRuntimeTest.TestService
,FileService
,FileServiceTest.TestService
,GatewayService
,LoggingService
,MetaService
,UserService
,WatchdogService
public abstract class AbstractEngineIdleService<C>
extends com.google.common.util.concurrent.AbstractIdleService
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.AbstractIdleService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, startAsync, state, stopAsync, toString
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
-
AbstractEngineIdleService
-
-
Method Details
-
startUp
- Specified by:
startUp
in classcom.google.common.util.concurrent.AbstractIdleService
- Throws:
Exception
-
shutDown
- Specified by:
shutDown
in classcom.google.common.util.concurrent.AbstractIdleService
- Throws:
Exception
-
serviceName
- Overrides:
serviceName
in classcom.google.common.util.concurrent.AbstractIdleService
-
configClass
- Specified by:
configClass
in interfaceEngineServices.ConfigurableService<C>
-
configReference
- Specified by:
configReference
in interfaceEngineServices.ConfigurableService<C>
-