Class PersistenceHealthCheckProvider
java.lang.Object
org.apache.unomi.healthcheck.provider.PersistenceHealthCheckProvider
- All Implemented Interfaces:
HealthCheckProvider
A health check that track the Unomi persistence layer availability. An evolution would be to check the persistence migration status to
ensure that running instance is aligned with the underlying persistence migration status and structures.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(PersistenceService service) execute()
name()
void
unbind
(PersistenceService service) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.unomi.healthcheck.HealthCheckProvider
timeout
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
PersistenceHealthCheckProvider
public PersistenceHealthCheckProvider()
-
-
Method Details
-
bind
-
unbind
-
name
- Specified by:
name
in interfaceHealthCheckProvider
-
execute
- Specified by:
execute
in interfaceHealthCheckProvider
-