use of de.codecentric.boot.admin.registry.StatusUpdater in project spring-boot-admin by codecentric.
the class AdminServerCoreConfiguration method statusUpdater.
@Bean
@ConditionalOnMissingBean
public StatusUpdater statusUpdater(ApplicationStore applicationStore, ApplicationOperations applicationOperations) {
StatusUpdater statusUpdater = new StatusUpdater(applicationStore, applicationOperations);
statusUpdater.setStatusLifetime(adminServerProperties.getMonitor().getStatusLifetime());
return statusUpdater;
}
Aggregations