@Singleton @Requires(property="endpoints.health.disk-space.enabled",notEquals="false") @Requires(beans=HealthEndpoint.class) public class DiskSpaceIndicator extends AbstractHealthIndicator<Map<String,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.
DiskSpaceIndicatorConfiguration.threshold| Modifier and Type | Field and Description | 
|---|---|
| protected static String | NAME | 
executorService, healthStatusHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description | 
|---|---|
| protected Map<String,Object> | getHealthInformation()Provides information (typically a Map) to be returned. | 
| String | getName()Used to populate the  HealthResult. | 
getHealthResult, getResult, setExecutorServiceprotected static final String NAME
public String getName()
AbstractHealthIndicatorHealthResult. Provides a key to go along with the health information.getName in class AbstractHealthIndicator<Map<String,Object>>protected Map<String,Object> getHealthInformation()
AbstractHealthIndicatorAbstractHealthIndicator.healthStatus field during execution,
 otherwise HealthStatus.UNKNOWN will be used.getHealthInformation in class AbstractHealthIndicator<Map<String,Object>>