Click or drag to resize

ReplicationStrategiesCreateNetworkTopologyStrategyReplicationProperty Method

Returns replication property for NetworkTopologyStrategy.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public static Dictionary<string, string> CreateNetworkTopologyStrategyReplicationProperty(
	Dictionary<string, int> datacentersReplicationFactors
)

Parameters

datacentersReplicationFactors
Type: System.Collections.GenericDictionaryString, Int32
Dictionary in which key is the name of a data-center, value is a replication factor for that data-center.

Return Value

Type: DictionaryString, String
a dictionary of replication property sub-options.
See Also