Interface Detector

All Superinterfaces:
HealthIndicator, org.noear.solon.core.Lifecycle
All Known Implementing Classes:
AbstractDetector, CpuDetector, DiskDetector, JvmMemoryDetector, MemoryDetector, OsDetector, QpsDetector

public interface Detector extends HealthIndicator, org.noear.solon.core.Lifecycle
检测器
Since:
1.5
Author:
noear
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.noear.solon.core.handle.Result
    get()
     
     
     
    default void
     
    default void
     

    Methods inherited from interface org.noear.solon.core.Lifecycle

    postStart, preStop
  • Method Details

    • getName

      String getName()
    • getInfo

      Map<String,Object> getInfo()
    • start

      default void start() throws Throwable
      Specified by:
      start in interface org.noear.solon.core.Lifecycle
      Throws:
      Throwable
    • stop

      default void stop() throws Throwable
      Specified by:
      stop in interface org.noear.solon.core.Lifecycle
      Throws:
      Throwable
    • get

      default org.noear.solon.core.handle.Result get()
      Specified by:
      get in interface HealthIndicator