Interface LoadMonitorService

All Known Implementing Classes:
SimpleLoadMonitorService

public interface LoadMonitorService
Monitors the load of the local instance and reports information such as CPU load and Memory load.
  • Method Details

    • start

      default void start()
    • stop

      default void stop()
    • getInstanceQuality

      double getInstanceQuality()
      Gets a "quality" measurement of the instance. The lower the value the better the quality. This can be derived from weighted averages of CPU/Memory percentage.
      Returns:
      the quality of the instance