Java 类org.springframework.boot.actuate.health.DiskSpaceHealthIndicatorProperties 实例源码

项目:document-management-store-app    文件:HealthCheckConfiguration.java   
@Bean
DiskSpaceHealthIndicator diskSpaceHealthIndicator(@Value("${health.disk.threshold}") long threshold) {
    DiskSpaceHealthIndicatorProperties diskSpaceHealthIndicatorProperties =
            new DiskSpaceHealthIndicatorProperties();
    diskSpaceHealthIndicatorProperties.setThreshold(threshold);
    return new DiskSpaceHealthIndicator(diskSpaceHealthIndicatorProperties);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:HealthIndicatorAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(name = "diskSpaceHealthIndicator")
public DiskSpaceHealthIndicator diskSpaceHealthIndicator(
        DiskSpaceHealthIndicatorProperties properties) {
    return new DiskSpaceHealthIndicator(properties);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:HealthIndicatorAutoConfiguration.java   
@Bean
public DiskSpaceHealthIndicatorProperties diskSpaceHealthIndicatorProperties() {
    return new DiskSpaceHealthIndicatorProperties();
}
项目:spring-boot-concourse    文件:HealthIndicatorAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(name = "diskSpaceHealthIndicator")
public DiskSpaceHealthIndicator diskSpaceHealthIndicator(
        DiskSpaceHealthIndicatorProperties properties) {
    return new DiskSpaceHealthIndicator(properties);
}
项目:spring-boot-concourse    文件:HealthIndicatorAutoConfiguration.java   
@Bean
public DiskSpaceHealthIndicatorProperties diskSpaceHealthIndicatorProperties() {
    return new DiskSpaceHealthIndicatorProperties();
}
项目:contestparser    文件:HealthIndicatorAutoConfiguration.java   
@Bean
@ConditionalOnMissingBean(name = "diskSpaceHealthIndicator")
public DiskSpaceHealthIndicator diskSpaceHealthIndicator(
        DiskSpaceHealthIndicatorProperties properties) {
    return new DiskSpaceHealthIndicator(properties);
}
项目:contestparser    文件:HealthIndicatorAutoConfiguration.java   
@Bean
public DiskSpaceHealthIndicatorProperties diskSpaceHealthIndicatorProperties() {
    return new DiskSpaceHealthIndicatorProperties();
}