Package org.apache.pekko.cluster.client
Class ClusterReceptionistSettings
java.lang.Object
org.apache.pekko.cluster.client.ClusterReceptionistSettings
- All Implemented Interfaces:
NoSerializationVerificationNeeded
public final class ClusterReceptionistSettings
extends Object
implements NoSerializationVerificationNeeded
Deprecated.
Use Apache Pekko gRPC instead, see https://pekko.apache.org/docs/pekko/current/cluster-client.html#migration-to-pekko-grpc. Since Akka 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
ConstructorsConstructorDescriptionClusterReceptionistSettings(scala.Option<String> role, int numberOfContacts, scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout) Deprecated.ClusterReceptionistSettings(scala.Option<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
Modifier and TypeMethodDescriptionscala.concurrent.duration.FiniteDurationDeprecated.static ClusterReceptionistSettingsapply(com.typesafe.config.Config config) Deprecated.Create settings from a configuration with the same layout as the default configurationpekko.cluster.client.receptionist.static ClusterReceptionistSettingsapply(ActorSystem system) Deprecated.Create settings from the default configurationpekko.cluster.client.receptionist.static ClusterReceptionistSettingscreate(com.typesafe.config.Config config) Deprecated.Java API: Create settings from a configuration with the same layout as the default configurationpekko.cluster.client.receptionist.static ClusterReceptionistSettingscreate(ActorSystem system) Deprecated.Java API: Create settings from the default configurationpekko.cluster.client.receptionist.scala.concurrent.duration.FiniteDurationDeprecated.scala.concurrent.duration.FiniteDurationDeprecated.intDeprecated.scala.concurrent.duration.FiniteDurationDeprecated.scala.Option<String>role()Deprecated.withHeartbeat(scala.concurrent.duration.FiniteDuration heartbeatInterval, scala.concurrent.duration.FiniteDuration acceptableHeartbeatPause, scala.concurrent.duration.FiniteDuration failureDetectionInterval) Deprecated.withNumberOfContacts(int numberOfContacts) Deprecated.withResponseTunnelReceiveTimeout(scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout) Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
ClusterReceptionistSettings
public ClusterReceptionistSettings(scala.Option<String> role, int numberOfContacts, scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout) Deprecated. -
ClusterReceptionistSettings
public ClusterReceptionistSettings(scala.Option<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 Details
-
apply
Deprecated.Create settings from the default configurationpekko.cluster.client.receptionist. -
apply
Deprecated.Create settings from a configuration with the same layout as the default configurationpekko.cluster.client.receptionist. -
create
Deprecated.Java API: Create settings from the default configurationpekko.cluster.client.receptionist. -
create
Deprecated.Java API: Create settings from a configuration with the same layout as the default configurationpekko.cluster.client.receptionist. -
role
Deprecated. -
numberOfContacts
public int numberOfContacts()Deprecated. -
responseTunnelReceiveTimeout
public scala.concurrent.duration.FiniteDuration responseTunnelReceiveTimeout()Deprecated. -
withRole
Deprecated. -
withRole
Deprecated. -
withNumberOfContacts
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.
-