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.Disposableprotected 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.rswk.meta.engine.EngineServices.ConfigurableService
config, onConfigChangedMethods 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:
startUpin classcom.google.common.util.concurrent.AbstractIdleService- Throws:
Exception
-
shutDown
- Specified by:
shutDownin classcom.google.common.util.concurrent.AbstractIdleService- Throws:
Exception
-
serviceName
- Overrides:
serviceNamein classcom.google.common.util.concurrent.AbstractIdleService
-
configClass
- Specified by:
configClassin interfaceEngineServices.ConfigurableService<C>
-
configReference
- Specified by:
configReferencein interfaceEngineServices.ConfigurableService<C>
-