Interface PekkoReplicatorConfig
@Immutable
public interface PekkoReplicatorConfig
Provides configuration settings for the Pekko
Replicator.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn enumeration of the known config path expressions and their associated default values forPekkoReplicatorConfig. -
Method Summary
Modifier and TypeMethodDescriptioncom.typesafe.config.ConfigGets the complete Pekkodistributed-dataconfig to use for theReplicator.Returns the interval with which cluster members initiate gossip.getName()Returns the name of the replicator.Returns the interval subscribers are notified.getRole()Returns the cluster role of members with replicas of the distributed collection.
-
Method Details
-
getName
String getName()Returns the name of the replicator.- Returns:
- the name.
-
getRole
String getRole()Returns the cluster role of members with replicas of the distributed collection.- Returns:
- cluster role.
-
getGossipInterval
Duration getGossipInterval()Returns the interval with which cluster members initiate gossip.- Returns:
- the gossip interval.
-
getNotifySubscribersInterval
Duration getNotifySubscribersInterval()Returns the interval subscribers are notified.- Returns:
- the duration.
-
getCompleteConfig
com.typesafe.config.Config getCompleteConfig()Gets the complete Pekkodistributed-dataconfig to use for theReplicator.- Returns:
- the complete config.
-