java.lang.Object
io.helidon.integrations.microstream.health.MicrostreamHealthCheck
All Implemented Interfaces:
HealthCheck

public class MicrostreamHealthCheck extends Object implements HealthCheck
Microstream health check.
  • Method Details

    • name

      public String name()
      Description copied from interface: HealthCheck
      Name of this health check, used in output when details are requested.
      Specified by:
      name in interface HealthCheck
      Returns:
      name of this health check, defaults to simple class name
    • call

      public HealthCheckResponse call()
      Description copied from interface: HealthCheck
      Call a health check.
      Specified by:
      call in interface HealthCheck
      Returns:
      health response
    • create

      public static MicrostreamHealthCheck create(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager)
      Create a default health check for Microstream.
      Parameters:
      embeddedStorageManager - the EmbeddedStorageManager used by the the health check
      Returns:
      default health check for Microstream
    • builder

      public static MicrostreamHealthCheck.Builder builder(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager)
      A fluent API builder to create a health check for Microstream.
      Parameters:
      embeddedStorageManager - EmbeddedStorageManager
      Returns:
      a new builder