Class MicroStreamHealth

java.lang.Object
io.micronaut.microstream.health.MicroStreamHealth

@Introspected public class MicroStreamHealth extends Object
Health information about a MicroStream instance.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • MicroStreamHealth

      public MicroStreamHealth(boolean startingUp, boolean running, boolean active, boolean acceptingTasks, boolean shuttingDown, boolean shutdown)
      Parameters:
      startingUp - Whether the MicroStream instance is starting up.
      running - Whether the MicroStream instance is running
      active - Whether the MicroStream instance is active
      acceptingTasks - Whether the MicroStream instance accepts tasks
      shuttingDown - Whether the MicroStream instance is shutting down
      shutdown - Whether the MicroStream instance is off
  • Method Details

    • isStartingUp

      public boolean isStartingUp()
      Returns:
      Whether the MicroStream instance is starting up.
    • isRunning

      public boolean isRunning()
      Returns:
      Whether the MicroStream instance is running
    • isActive

      public boolean isActive()
      Returns:
      Whether the MicroStream instance is active
    • isAcceptingTasks

      public boolean isAcceptingTasks()
      Returns:
      Whether the MicroStream instance accepts tasks
    • isShuttingDown

      public boolean isShuttingDown()
      Returns:
      Whether the MicroStream instance is shutting down
    • isShutdown

      public boolean isShutdown()
      Returns:
      Whether the MicroStream instance is off