Package io.micronaut.microstream.health
Class MicroStreamHealthIndicator
java.lang.Object
io.micronaut.microstream.health.MicroStreamHealthIndicator
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,io.micronaut.management.health.indicator.HealthIndicator
@Singleton
@Requires(classes=io.micronaut.management.health.indicator.HealthIndicator.class) @Requires(property="endpoints.health.microstream.enabled",value="true",defaultValue="true")
public class MicroStreamHealthIndicator
extends Object
implements io.micronaut.management.health.indicator.HealthIndicator
A
HealthIndicator
that checks the health of all registered StorageManager
s.- Since:
- 1.0.0
- Author:
- Tim Yates
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Field Details
-
MICROSTREAM_PREFIX
- See Also:
-
-
Constructor Details
-
MicroStreamHealthIndicator
public MicroStreamHealthIndicator(io.micronaut.context.BeanContext beanContext)
-
-
Method Details
-
getResult
public org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()- Specified by:
getResult
in interfaceio.micronaut.management.health.indicator.HealthIndicator
-