@InterfaceAudience.Private final class CatalogReplicaLoadBalanceSelectorFactory extends Object
CatalogReplicaLoadBalanceSelector
Modifier | Constructor and Description |
---|---|
private |
CatalogReplicaLoadBalanceSelectorFactory()
Private Constructor
|
Modifier and Type | Method and Description |
---|---|
static CatalogReplicaLoadBalanceSelector |
createSelector(String replicaSelectorClass,
TableName tableName,
ChoreService choreService,
IntSupplier getReplicaCount)
Create a CatalogReplicaLoadBalanceReplicaSelector based on input config.
|
private CatalogReplicaLoadBalanceSelectorFactory()
public static CatalogReplicaLoadBalanceSelector createSelector(String replicaSelectorClass, TableName tableName, ChoreService choreService, IntSupplier getReplicaCount)
replicaSelectorClass
- Selector classname.tableName
- System table name.choreService
- ChoreService
CatalogReplicaLoadBalanceSelector
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.