Package akka.cluster.client
Class ClusterReceptionistSettings
- java.lang.Object
-
- akka.cluster.client.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/libraries/akka-core/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 Summary
Constructors Constructor Description ClusterReceptionistSettings(scala.Option<java.lang.String> role, int numberOfContacts, scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout)
Deprecated.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description scala.concurrent.duration.FiniteDuration
acceptableHeartbeatPause()
Deprecated.static ClusterReceptionistSettings
apply(ActorSystem system)
Deprecated.Create settings from the default configurationakka.cluster.client.receptionist
.static ClusterReceptionistSettings
apply(com.typesafe.config.Config config)
Deprecated.Create settings from a configuration with the same layout as the default configurationakka.cluster.client.receptionist
.static ClusterReceptionistSettings
create(ActorSystem system)
Deprecated.Java API: Create settings from the default configurationakka.cluster.client.receptionist
.static ClusterReceptionistSettings
create(com.typesafe.config.Config config)
Deprecated.Java API: Create settings from a configuration with the same layout as the default configurationakka.cluster.client.receptionist
.scala.concurrent.duration.FiniteDuration
failureDetectionInterval()
Deprecated.scala.concurrent.duration.FiniteDuration
heartbeatInterval()
Deprecated.int
numberOfContacts()
Deprecated.scala.concurrent.duration.FiniteDuration
responseTunnelReceiveTimeout()
Deprecated.scala.Option<java.lang.String>
role()
Deprecated.ClusterReceptionistSettings
withHeartbeat(scala.concurrent.duration.FiniteDuration heartbeatInterval, scala.concurrent.duration.FiniteDuration acceptableHeartbeatPause, scala.concurrent.duration.FiniteDuration failureDetectionInterval)
Deprecated.ClusterReceptionistSettings
withNumberOfContacts(int numberOfContacts)
Deprecated.ClusterReceptionistSettings
withResponseTunnelReceiveTimeout(scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout)
Deprecated.ClusterReceptionistSettings
withRole(java.lang.String role)
Deprecated.ClusterReceptionistSettings
withRole(scala.Option<java.lang.String> role)
Deprecated.
-
-
-
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(ActorSystem system)
Deprecated.Create settings from the default configurationakka.cluster.client.receptionist
.
-
apply
public static ClusterReceptionistSettings apply(com.typesafe.config.Config config)
Deprecated.Create settings from a configuration with the same layout as the default configurationakka.cluster.client.receptionist
.
-
create
public static ClusterReceptionistSettings create(ActorSystem system)
Deprecated.Java API: Create settings from the default configurationakka.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 configurationakka.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.
-
withRole
public ClusterReceptionistSettings withRole(java.lang.String role)
Deprecated.
-
withRole
public ClusterReceptionistSettings withRole(scala.Option<java.lang.String> role)
Deprecated.
-
withNumberOfContacts
public ClusterReceptionistSettings withNumberOfContacts(int numberOfContacts)
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.
-
-