Class FileServiceTest.TestService
java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
ch.rswk.meta.engine.AbstractEngineIdleService<Fixture.EmptyServiceConfig>
ch.rswk.meta.engine.test.FileServiceTest.TestService
- All Implemented Interfaces:
EngineServices.ConfigurableService<Fixture.EmptyServiceConfig>, EngineServices.InfoProvidingService, com.google.common.util.concurrent.Service
- Enclosing class:
FileServiceTest
@Singleton
public static class FileServiceTest.TestService
extends AbstractEngineIdleService<Fixture.EmptyServiceConfig>
-
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 FileServiceprivate static final org.slf4j.LoggerbooleanFields inherited from class AbstractEngineIdleService
runtime -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractEngineIdleService
configClass, configReference, onConfigWatcherNotification, serviceId, serviceNameMethods 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface EngineServices.ConfigurableService
config, handleConfigWatcherNotification, onConfigChangedMethods inherited from interface EngineServices.InfoProvidingService
getServiceInfo
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
fileService
-
backupFile
-
restoreFile
-
restoreFileHashAndSize
-
restoreSuccess
public boolean restoreSuccess
-
-
Constructor Details
-
TestService
-
-
Method Details
-
startUp
- Overrides:
startUpin classAbstractEngineIdleService<Fixture.EmptyServiceConfig>- Throws:
Exception
-
shutDown
- Overrides:
shutDownin classAbstractEngineIdleService<Fixture.EmptyServiceConfig>- Throws:
Exception
-