Class ClusterReceptionistSettings

  • All Implemented Interfaces:
    NoSerializationVerificationNeeded

    public final class ClusterReceptionistSettings
    extends java.lang.Object
    implements NoSerializationVerificationNeeded
    Deprecated.
    Use Akka gRPC instead, see https://doc.akka.io/docs/akka/2.6/cluster-client.html#migration-to-akka-grpc. Since 2.6.0.
    param: role Start the receptionist on members tagged with this role. All members are used if undefined. param: numberOfContacts The receptionist will send this number of contact points to the client param: responseTunnelReceiveTimeout The actor that tunnel response messages to the client will be stopped after this time of inactivity.
    • Constructor Detail

      • ClusterReceptionistSettings

        public ClusterReceptionistSettings​(scala.Option<java.lang.String> role,
                                           int numberOfContacts,
                                           scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout)
        Deprecated.
      • ClusterReceptionistSettings

        public ClusterReceptionistSettings​(scala.Option<java.lang.String> role,
                                           int numberOfContacts,
                                           scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout,
                                           scala.concurrent.duration.FiniteDuration heartbeatInterval,
                                           scala.concurrent.duration.FiniteDuration acceptableHeartbeatPause,
                                           scala.concurrent.duration.FiniteDuration failureDetectionInterval)
        Deprecated.
    • Method Detail

      • apply

        public static ClusterReceptionistSettings apply​(com.typesafe.config.Config config)
        Deprecated.
        Create settings from a configuration with the same layout as the default configuration akka.cluster.client.receptionist.
      • create

        public static ClusterReceptionistSettings create​(com.typesafe.config.Config config)
        Deprecated.
        Java API: Create settings from a configuration with the same layout as the default configuration akka.cluster.client.receptionist.
      • role

        public scala.Option<java.lang.String> role()
        Deprecated.
      • numberOfContacts

        public int numberOfContacts()
        Deprecated.
      • responseTunnelReceiveTimeout

        public scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout()
        Deprecated.
      • withResponseTunnelReceiveTimeout

        public ClusterReceptionistSettings withResponseTunnelReceiveTimeout​(scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout)
        Deprecated.
      • withHeartbeat

        public ClusterReceptionistSettings withHeartbeat​(scala.concurrent.duration.FiniteDuration heartbeatInterval,
                                                         scala.concurrent.duration.FiniteDuration acceptableHeartbeatPause,
                                                         scala.concurrent.duration.FiniteDuration failureDetectionInterval)
        Deprecated.
      • heartbeatInterval

        public scala.concurrent.duration.FiniteDuration heartbeatInterval()
        Deprecated.
      • acceptableHeartbeatPause

        public scala.concurrent.duration.FiniteDuration acceptableHeartbeatPause()
        Deprecated.
      • failureDetectionInterval

        public scala.concurrent.duration.FiniteDuration failureDetectionInterval()
        Deprecated.