Package com.github.cafapi.common.api
Interface HealthReporter
- All Known Subinterfaces:
ManagedConfigurationSource
,ManagedDataStore
,ManagedWorkerQueue
,WorkerFactory
- All Known Implementing Classes:
AbstractWorkerFactory
,CafConfigurationSource
,FileConfigurationSource
,FileSystemDataStore
,HttpDataStore
,InMemoryDataStore
,RabbitWorkerQueue
,S3DataStore
,TransientHealthCheck
public interface HealthReporter
Indicates this object can report on its health.
-
Method Summary
-
Method Details
-
livenessCheck
- Returns:
- the result of the liveness check
-
healthCheck
HealthResult healthCheck()- Returns:
- the result of the health (aka readiness) check
-