Class ArangoClusterHealthIndicator

  • All Implemented Interfaces:
    io.micronaut.core.order.Ordered, io.micronaut.management.health.indicator.HealthIndicator

    @Requires(property="arangodb.health.cluster.enabled",value="true",defaultValue="false") @Requires(beans=com.arangodb.ArangoDB.class,classes=io.micronaut.management.health.indicator.HealthIndicator.class)
    @Singleton
    public class ArangoClusterHealthIndicator
    extends java.lang.Object
    implements io.micronaut.management.health.indicator.HealthIndicator
    A HealthIndicator for ArangoDB cluster. Indicates health of the ArangoDB cluster itself and if it is critical for database availability.
    Since:
    29.2.2020
    • Field Summary

      • Fields inherited from interface io.micronaut.core.order.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()  
      • 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
    • Constructor Detail

      • ArangoClusterHealthIndicator

        @Inject
        public ArangoClusterHealthIndicator​(com.arangodb.ArangoDB accessor,
                                            ArangoConfiguration configuration,
                                            com.fasterxml.jackson.databind.ObjectMapper mapper,
                                            ArangoClusterHealthConfiguration healthConfiguration)
    • Method Detail

      • getResult

        public org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()
        Specified by:
        getResult in interface io.micronaut.management.health.indicator.HealthIndicator