public class ManagedCamelHealth extends Object implements org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
Constructor and Description |
---|
ManagedCamelHealth(org.apache.camel.CamelContext context,
org.apache.camel.health.HealthCheckRegistry healthCheckRegistry) |
Modifier and Type | Method and Description |
---|---|
TabularData |
details() |
void |
disableById(String id) |
void |
enableById(String id) |
org.apache.camel.CamelContext |
getContext() |
Collection<String> |
getHealthChecksIDs() |
void |
init(org.apache.camel.spi.ManagementStrategy strategy) |
String |
invoke(String id) |
boolean |
isEnabled() |
boolean |
isHealthy() |
boolean |
isHealthyLiveness() |
boolean |
isHealthyReadiness() |
public ManagedCamelHealth(org.apache.camel.CamelContext context, org.apache.camel.health.HealthCheckRegistry healthCheckRegistry)
public void init(org.apache.camel.spi.ManagementStrategy strategy)
public org.apache.camel.CamelContext getContext()
public boolean isEnabled()
isEnabled
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public boolean isHealthy()
isHealthy
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public boolean isHealthyReadiness()
isHealthyReadiness
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public boolean isHealthyLiveness()
isHealthyLiveness
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public Collection<String> getHealthChecksIDs()
getHealthChecksIDs
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public TabularData details()
details
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public String invoke(String id)
invoke
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public void enableById(String id)
enableById
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
public void disableById(String id)
disableById
in interface org.apache.camel.api.management.mbean.ManagedCamelHealthMBean
Apache Camel