public class RemoteMonitoringService extends Object implements MonitoringService
Modifier and Type | Class and Description |
---|---|
static class |
RemoteMonitoringService.DetectorTask |
Modifier and Type | Method and Description |
---|---|
void |
shutdown()
Clean up.
|
void |
start(Duration monitoringInterval)
Executes task to run failure and healing detection every poll interval.
|
public void start(Duration monitoringInterval)
During the initialization step, the method:
- triggers sequencer bootstrap
- starts failure and healing detection mechanism, by running runDetectionTasks
every second (by default). Next iteration of detection task can be run only if current iteration is completed.
start
in interface MonitoringService
public void shutdown()
MonitoringService
shutdown
in interface MonitoringService
Copyright © 2019 CorfuDB. All rights reserved.