Class DefaultHealthCheckingActorFactory

java.lang.Object
org.eclipse.ditto.internal.utils.health.DefaultHealthCheckingActorFactory

public final class DefaultHealthCheckingActorFactory extends Object
Provides an actor for checking and caching the health of a ditto service.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The actor name of the Actor to be created in the ActorSystem.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.pekko.actor.Props
    props(HealthCheckingActorOptions options, org.apache.pekko.actor.Props persistenceCheckerProps, org.apache.pekko.actor.Props... otherProps)
    Creates Pekko configuration object Props for a health checking actor.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ACTOR_NAME

      public static final String 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.