public abstract class AbstractHealthCheck extends Object implements org.apache.camel.health.HealthCheck, org.apache.camel.CamelContextAware
HealthCheck.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHealthCheck(String id) |
protected |
AbstractHealthCheck(String group,
String id) |
protected |
AbstractHealthCheck(String group,
String id,
Map<String,Object> meta) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMetaData(String key,
Object value) |
org.apache.camel.health.HealthCheck.Result |
call() |
org.apache.camel.health.HealthCheck.Result |
call(Map<String,Object> options) |
protected abstract void |
doCall(org.apache.camel.health.HealthCheckResultBuilder builder,
Map<String,Object> options)
Invoke the health check.
|
boolean |
equals(Object o) |
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.health.HealthCheckConfiguration |
getConfiguration() |
String |
getGroup() |
String |
getId() |
Map<String,Object> |
getMetaData() |
int |
hashCode() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setConfiguration(org.apache.camel.health.HealthCheckConfiguration configuration) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprotected AbstractHealthCheck(String id)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic String getId()
getId in interface org.apache.camel.spi.HasIdpublic String getGroup()
getGroup in interface org.apache.camel.spi.HasGrouppublic Map<String,Object> getMetaData()
getMetaData in interface org.apache.camel.health.HealthCheckpublic org.apache.camel.health.HealthCheckConfiguration getConfiguration()
getConfiguration in interface org.apache.camel.health.HealthCheckpublic void setConfiguration(org.apache.camel.health.HealthCheckConfiguration configuration)
public org.apache.camel.health.HealthCheck.Result call()
call in interface org.apache.camel.health.HealthCheckpublic org.apache.camel.health.HealthCheck.Result call(Map<String,Object> options)
call in interface org.apache.camel.health.HealthCheckApache Camel