ReplicationStrategiesCreateNetworkTopologyStrategyReplicationProperty Method |
Returns replication property for NetworkTopologyStrategy.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax 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,
Stringa dictionary of replication property sub-options.
See Also