Package org.apache.camel.impl.cloud
Class DefaultServiceHealth
java.lang.Object
org.apache.camel.impl.cloud.DefaultServiceHealth
- All Implemented Interfaces:
org.apache.camel.cloud.ServiceHealth
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultServiceHealth(boolean healthy) DefaultServiceHealth(boolean healthy, Map<String, String> meta) DefaultServiceHealth(Map<String, String> meta) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.cloud.ServiceHealth
getEndpoint
-
Constructor Details
-
DefaultServiceHealth
public DefaultServiceHealth() -
DefaultServiceHealth
public DefaultServiceHealth(boolean healthy) -
DefaultServiceHealth
-
DefaultServiceHealth
-
-
Method Details
-
isHealthy
public boolean isHealthy()- Specified by:
isHealthyin interfaceorg.apache.camel.cloud.ServiceHealth
-
getMetadata
- Specified by:
getMetadatain interfaceorg.apache.camel.cloud.ServiceHealth
-