public class Replication extends Object
So something like "{ 'class': 'SimpleStrategy', 'replication_factor': 1}".
| Modifier and Type | Method and Description |
|---|---|
static Replication |
networkTopologyStrategy(Map<String,Integer> dataCenterReplicationFactors) |
static Replication |
simpleStrategy(int replicationFactor) |
String |
toString() |
public static Replication simpleStrategy(int replicationFactor)
public static Replication networkTopologyStrategy(Map<String,Integer> dataCenterReplicationFactors)
Copyright © 2022. All rights reserved.