Interface LivenessProbe


@SPI(scope=FRAMEWORK) public interface LivenessProbe
A probe to indicate whether program is alive

If one or more spi return false, 'live' command in dubbo-qos will return false. This can be extended with custom program and developers can implement this to customize life cycle.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if program is alive
  • Method Details

    • check

      boolean check()
      Check if program is alive
      Returns:
      invalid reference
      boolean
      result of probe