Package org.apache.hadoop.hbase.client
Class CatalogReplicaLoadBalanceSelectorFactory
java.lang.Object
org.apache.hadoop.hbase.client.CatalogReplicaLoadBalanceSelectorFactory
Factory to create a
CatalogReplicaLoadBalanceSelector
-
Constructor Summary
ModifierConstructorDescriptionprivate
Private Constructor -
Method Summary
Modifier and TypeMethodDescriptioncreateSelector
(String replicaSelectorClass, TableName tableName, ChoreService choreService, IntSupplier getReplicaCount) Create a CatalogReplicaLoadBalanceReplicaSelector based on input config.
-
Constructor Details
-
CatalogReplicaLoadBalanceSelectorFactory
private CatalogReplicaLoadBalanceSelectorFactory()Private Constructor
-
-
Method Details
-
createSelector
public static CatalogReplicaLoadBalanceSelector createSelector(String replicaSelectorClass, TableName tableName, ChoreService choreService, IntSupplier getReplicaCount) Create a CatalogReplicaLoadBalanceReplicaSelector based on input config.- Parameters:
replicaSelectorClass
- Selector classname.tableName
- System table name.choreService
-ChoreService
- Returns:
CatalogReplicaLoadBalanceSelector
-