public class MasterClientContext extends ClientContext
Modifier | Constructor and Description |
---|---|
protected |
MasterClientContext(ClientContext ctx,
MasterInquireClient masterInquireClient) |
Modifier and Type | Method and Description |
---|---|
MasterInquireClient |
getConfMasterInquireClient() |
MasterInquireClient |
getMasterInquireClient() |
static MasterClientContextBuilder |
newBuilder(ClientContext ctx)
Create an instance of a
MasterClientContextBuilder which can be used to obtain and
instance of MasterClientContext . |
create, create, create, getClusterConf, getClusterConfHash, getSubject, getUriValidationEnabled, getUserState, loadConf, loadConfIfNotLoaded, setClusterConf, setClusterConfHash, setUriValidationEnabled
protected MasterClientContext(ClientContext ctx, MasterInquireClient masterInquireClient)
public static MasterClientContextBuilder newBuilder(ClientContext ctx)
MasterClientContextBuilder
which can be used to obtain and
instance of MasterClientContext
.ctx
- The context to baseMasterClientContext
public MasterInquireClient getMasterInquireClient()
public MasterInquireClient getConfMasterInquireClient()
Copyright © 2023. All Rights Reserved.