Package io.micronaut.microstream.health
Class MicroStreamHealth
java.lang.Object
io.micronaut.microstream.health.MicroStreamHealth
Health information about a MicroStream instance.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionMicroStreamHealth
(boolean startingUp, boolean running, boolean active, boolean acceptingTasks, boolean shuttingDown, boolean shutdown) -
Method Summary
-
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 runningactive
- Whether the MicroStream instance is activeacceptingTasks
- Whether the MicroStream instance accepts tasksshuttingDown
- Whether the MicroStream instance is shutting downshutdown
- 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
-