Interface BasicHealthCheckConfig
- All Known Subinterfaces:
HealthCheckConfig
- All Known Implementing Classes:
DefaultBasicHealthCheckConfig,DefaultHealthCheckConfig
@Immutable
public interface BasicHealthCheckConfig
Provides configuration settings for Ditto's runtime health checking behaviour.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn enumeration of the known config path expressions and their associated default values forBaseHealthCheckConfig. -
Method Summary
Modifier and TypeMethodDescriptionReturns the interval of health check.booleanIndicates whether global health checking should be enabled.
-
Method Details
-
isEnabled
boolean isEnabled()Indicates whether global health checking should be enabled.- Returns:
trueif health checking should be enabled,falseelse.
-
getInterval
Duration getInterval()Returns the interval of health check.- Returns:
- the interval.
- See Also:
-