Package io.micronaut.eclipsestore.health
Class EclipseStoreHealth
java.lang.Object
io.micronaut.eclipsestore.health.EclipseStoreHealth
Health information about a EclipseStore instance.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionEclipseStoreHealth
(boolean startingUp, boolean running, boolean active, boolean acceptingTasks, boolean shuttingDown, boolean shutdown) -
Method Summary
-
Constructor Details
-
EclipseStoreHealth
public EclipseStoreHealth(boolean startingUp, boolean running, boolean active, boolean acceptingTasks, boolean shuttingDown, boolean shutdown) - Parameters:
startingUp
- Whether the EclipseStore instance is starting up.running
- Whether the EclipseStore instance is runningactive
- Whether the EclipseStore instance is activeacceptingTasks
- Whether the EclipseStore instance accepts tasksshuttingDown
- Whether the EclipseStore instance is shutting downshutdown
- Whether the EclipseStore instance is off
-
-
Method Details
-
isStartingUp
public boolean isStartingUp()- Returns:
- Whether the EclipseStore instance is starting up.
-
isRunning
public boolean isRunning()- Returns:
- Whether the EclipseStore instance is running
-
isActive
public boolean isActive()- Returns:
- Whether the EclipseStore instance is active
-
isAcceptingTasks
public boolean isAcceptingTasks()- Returns:
- Whether the EclipseStore instance accepts tasks
-
isShuttingDown
public boolean isShuttingDown()- Returns:
- Whether the EclipseStore instance is shutting down
-
isShutdown
public boolean isShutdown()- Returns:
- Whether the EclipseStore instance is off
-