Commit 5a85affa by Johannes Edmeier

Merge branch '1.4.x'

parents 41808985 813aae08
...@@ -30,7 +30,7 @@ import de.codecentric.boot.admin.model.StatusInfo; ...@@ -30,7 +30,7 @@ import de.codecentric.boot.admin.model.StatusInfo;
import de.codecentric.boot.admin.registry.store.ApplicationStore; import de.codecentric.boot.admin.registry.store.ApplicationStore;
/** /**
* The StatusUpdater is responsible for updatig the status of all or a single application querying * The StatusUpdater is responsible for updating the status of all or a single application querying
* the healthUrl. * the healthUrl.
* *
* @author Johannes Edmeier * @author Johannes Edmeier
...@@ -70,7 +70,7 @@ public class StatusUpdater implements ApplicationEventPublisherAware { ...@@ -70,7 +70,7 @@ public class StatusUpdater implements ApplicationEventPublisherAware {
} }
} }
private StatusInfo queryStatus(Application application) { protected StatusInfo queryStatus(Application application) {
LOGGER.trace("Updating status for {}", application); LOGGER.trace("Updating status for {}", application);
try { try {
...@@ -101,6 +101,10 @@ public class StatusUpdater implements ApplicationEventPublisherAware { ...@@ -101,6 +101,10 @@ public class StatusUpdater implements ApplicationEventPublisherAware {
this.statusLifetime = statusLifetime; this.statusLifetime = statusLifetime;
} }
public long getStatusLifetime() {
return statusLifetime;
}
@Override @Override
public void setApplicationEventPublisher(ApplicationEventPublisher publisher) { public void setApplicationEventPublisher(ApplicationEventPublisher publisher) {
this.publisher = publisher; this.publisher = publisher;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment