Class ClusterHealthCheckProvider
- java.lang.Object
-
- org.apache.unomi.healthcheck.provider.ClusterHealthCheckProvider
-
- All Implemented Interfaces:
HealthCheckProvider
public class ClusterHealthCheckProvider extends Object implements HealthCheckProvider
A Health Check that checks the status of the Unomi cluster service.
-
-
Constructor Summary
Constructors Constructor Description ClusterHealthCheckProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(ClusterService service)
HealthCheckResponse
execute()
String
name()
void
unbind(ClusterService 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 Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
bind
public void bind(ClusterService service)
-
unbind
public void unbind(ClusterService service)
-
name
public String name()
- Specified by:
name
in interfaceHealthCheckProvider
-
execute
public HealthCheckResponse execute()
- Specified by:
execute
in interfaceHealthCheckProvider
-
-