Class ReplicationUtils
- java.lang.Object
-
- org.apache.pinot.segment.local.utils.ReplicationUtils
-
public class ReplicationUtils extends Object
Methods related to replication
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanuseReplicasPerPartition(TableConfig tableConfig)Decides if::getReplicasPerPartitionNumbershould be usedstatic booleanuseReplication(TableConfig tableConfig)Decides if::getReplicationNumbershould be used
-
-
-
Method Detail
-
useReplication
public static boolean useReplication(TableConfig tableConfig)
Decides if::getReplicationNumbershould be used
-
useReplicasPerPartition
public static boolean useReplicasPerPartition(TableConfig tableConfig)
Decides if::getReplicasPerPartitionNumbershould be used
-
-