Class DiskSpaceIndicator

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

    @Singleton
    @Requires(property="endpoints.health.disk-space.enabled",notEquals="false") @Requires(beans=HealthEndpoint.class)
    public class DiskSpaceIndicator
    extends AbstractHealthIndicator<java.util.Map<java.lang.String,​java.lang.Object>>

    A HealthIndicator used to display information about the disk space of the server. Returns HealthStatus.DOWN if the free space is less than the configured threshold.

    Since:
    1.0
    See Also:
    DiskSpaceIndicatorConfiguration.threshold
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String NAME  
      • Fields inherited from interface io.micronaut.core.order.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE