Package | Description |
---|---|
alluxio | |
alluxio.master.selectionpolicy |
Constructor and Description |
---|
AbstractMasterClient(MasterClientContext clientConf,
MasterSelectionPolicy selectionPolicy)
Creates a new master client base.
|
AbstractMasterClient(MasterClientContext clientConf,
MasterSelectionPolicy selectionPolicy,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
Creates a new master client without a specific address.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMasterSelectionPolicy
Base class of master selection policy that
determines which master node a client should connect to.
|
class |
SelectionPolicyAnyMaster
The master selection policy that connects to a random master.
|
class |
SelectionPolicyAnyStandbyMaster
The master connection mode that connects to a random standby master.
|
class |
SelectionPolicyPrimaryMaster
The master selection policy that connects to the primary master.
|
class |
SelectionPolicySpecifiedMaster
The master selection policy that connects to the specified master.
|
Modifier and Type | Method and Description |
---|---|
static MasterSelectionPolicy |
MasterSelectionPolicy.Factory.anyMaster()
Creates a MasterSelectionPolicy that selects a random master to connect.
|
static MasterSelectionPolicy |
MasterSelectionPolicy.Factory.anyStandbyMaster()
Creates a MasterSelectionPolicy that selects a standby master to connect.
|
static MasterSelectionPolicy |
MasterSelectionPolicy.Factory.anyStandbyMaster(long randomSeed)
Creates a MasterSelectionPolicy that selects a standby master to connect.
|
static MasterSelectionPolicy |
MasterSelectionPolicy.Factory.primaryMaster()
Creates a MasterSelectionPolicy that selects the primary master to connect.
|
static MasterSelectionPolicy |
MasterSelectionPolicy.Factory.specifiedMaster(InetSocketAddress masterAddress)
Creates a MasterSelectionPolicy that selects a specified master to connect.
|
Copyright © 2023. All Rights Reserved.