Class HealthCheckingActorOptions.Builder
java.lang.Object
org.eclipse.ditto.internal.utils.health.HealthCheckingActorOptions.Builder
- Enclosing class:
- HealthCheckingActorOptions
A builder for building
HealthCheckingActorOptions objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theHealthCheckingActorOptionsobject.Enables the health check for the persistence.
-
Constructor Details
-
Builder
Constructs a newBuilderobject.- Parameters:
healthCheckEnabled- whether the health check should be enabled globally or not.interval- the interval for the check.
-
-
Method Details
-
enablePersistenceCheck
Enables the health check for the persistence.- Returns:
- this builder for method chaining.
-
build
Builds theHealthCheckingActorOptionsobject.- Returns:
- the HealthCheckingActorOptions.
-