Class HealthcheckRunner<T>
java.lang.Object
org.aksw.commons.util.healthcheck.HealthcheckRunner<T>
Run a configurable (health check) action at fixed intervals until this action longer raises
an exception. Fatal conditions can be configured to abort the health check early.
- Author:
- raven
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
retryCount
protected long retryCount -
interval
protected long interval -
intervalTimeUnit
-
action
-
fatalConditions
-
continuationConditions
-
isAborted
protected boolean isAborted -
thread
The thread that calledrun()
-
-
Constructor Details
-
HealthcheckRunner
-
-
Method Details