Class DefaultHealthCheckingActorFactory
java.lang.Object
org.eclipse.ditto.internal.utils.health.DefaultHealthCheckingActorFactory
Provides an actor for checking and caching the health of a ditto service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe actor name of the Actor to be created in the ActorSystem. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.pekko.actor.Propsprops(HealthCheckingActorOptions options, org.apache.pekko.actor.Props persistenceCheckerProps, org.apache.pekko.actor.Props... otherProps) Creates Pekko configuration object Props for a health checking actor.
-
Field Details
-
ACTOR_NAME
The actor name of the Actor to be created in the ActorSystem.- See Also:
-
-
Method Details
-
props
public static org.apache.pekko.actor.Props props(HealthCheckingActorOptions options, @Nullable org.apache.pekko.actor.Props persistenceCheckerProps, org.apache.pekko.actor.Props... otherProps) Creates Pekko configuration object Props for a health checking actor.- Parameters:
options- the options to configure this actor.persistenceCheckerProps- props to create persistence health checkers.otherProps- props of other child actors.- Returns:
- the Pekko configuration Props object.
-