Class Icinga2StatusMonitorManagerImpl
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.status.Icinga2StatusMonitorManagerImpl
- All Implemented Interfaces:
StatusMonitorManager
public class Icinga2StatusMonitorManagerImpl extends Object implements StatusMonitorManager
Status monitor manager that reports to Icinga.
-
Constructor Summary
Constructors Constructor Description Icinga2StatusMonitorManagerImpl()
-
Method Summary
Modifier and Type Method Description void
updateStatus(int runningJobs, int nBoardsInUse)
Send a heart beat to the status monitoring service to indicate that we are alive.
-
Constructor Details
-
Icinga2StatusMonitorManagerImpl
public Icinga2StatusMonitorManagerImpl()
-
-
Method Details
-
updateStatus
public void updateStatus(int runningJobs, int nBoardsInUse)Description copied from interface:StatusMonitorManager
Send a heart beat to the status monitoring service to indicate that we are alive.- Specified by:
updateStatus
in interfaceStatusMonitorManager
- Parameters:
runningJobs
- The number of running jobs.nBoardsInUse
- The number of boards currently allocated.
-