public interface LoggingService
Service responsible for generating log outputs of currently running computations.
The log collection is supposed to be run in a separate thread in some specified intervals.
Modifier and Type | Method and Description |
---|---|
void |
schedule(Manager statisticsManager,
ThreadPool threadPool)
Schedules and starts this service in the provided
ThreadPool |
void |
stop()
Stops this service
|
void schedule(Manager statisticsManager, ThreadPool threadPool)
Schedules and starts this service in the provided ThreadPool
Statistics will be obtained by this service from the passes Manager
.
statisticsManager
- provider of the statisticsthreadPool
- thread pool used to schedule the servicevoid stop()
Stops this service
This operations does not have to be synchronous. Service may be stopped some time in the future after this call.