Interface IServiceModuleState
- All Known Subinterfaces:
IHealthMonitorModule,IHibernateConnectionValidator,IInTranslationMonitorModule,ILicenseValidatorModule,ISequentialTranslationProcessorModule,TranslationStudioServiceModule
- All Known Implementing Classes:
TranslationStudioModule
public interface IServiceModuleState
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescription@NotNull IHealthInformationGet health information@NotNull StringGet thread id@NotNull EServiceThreadStateGet Thread StatelongGet sleeping since timestamplongGet the sleeping interval in milis@NotNull StringGet the thread namelongGet the time this thread finishedlongGet the time this thread started
-
Method Details
-
getThreadName
Get the thread name- Returns:
-
getServiceThreadId
Get thread id- Returns:
-
getTimeLastWorkingStarted
long getTimeLastWorkingStarted()Get the time this thread started- Returns:
-
getTimeLastWorkingFinished
long getTimeLastWorkingFinished()Get the time this thread finished- Returns:
-
getServiceThreadState
Get Thread State- Returns:
-
getSleepingSince
long getSleepingSince()Get sleeping since timestamp- Returns:
-
getHealthInformation
Get health information- Returns:
-
getSleepIntervalInMilliseconds
long getSleepIntervalInMilliseconds()Get the sleeping interval in milis- Returns:
-