public class DefaultRegistryClientConfig extends Object implements RegistryClientConfig
| 构造器和说明 |
|---|
DefaultRegistryClientConfig(String env,
String instanceId,
String ip,
String zone,
String registryEndpoint,
int registryEndpointPort,
String dataCenter,
String appName,
int connectTimeout,
int socketTimeout,
int invokeTimeout,
int recheckInterval,
int observerThreadCoreSize,
int observerThreadMaxSize,
int observerThreadQueueLength,
int observerCallbackTimeout,
int syncConfigRetryInterval,
String accessKey,
String secretKey,
String algorithm,
long authCacheInterval,
boolean eventBusEnable)
Instantiates a new Default registry client config.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o)
Equals boolean.
|
String |
getAccessKey()
Getter method for property accessKey.
|
String |
getAlgorithm()
Getter method for property algorithm.
|
String |
getAppName()
Getter method for property appName.
|
long |
getAuthCacheInterval()
Getter method for property authCacheInterval.
|
int |
getConnectTimeout()
Getter method for property connectTimeout.
|
String |
getDataCenter()
Getter method for property dataCenter.
|
String |
getEnv()
Getter method for property env.
|
String |
getInstanceId()
Getter method for property instanceId.
|
int |
getInvokeTimeout()
Getter method for property invokeTimeout.
|
String |
getIp() |
int |
getObserverCallbackTimeout()
Getter method for property observerCallbackTimeout.
|
int |
getObserverThreadCoreSize()
Getter method for property observerThreadCoreSize.
|
int |
getObserverThreadMaxSize()
Getter method for property observerThreadMaxSize.
|
int |
getObserverThreadQueueLength()
Getter method for property observerThreadQueueLength.
|
int |
getRecheckInterval()
Getter method for property recheckInterval.
|
String |
getRegistryEndpoint()
Getter method for property registryEndpoint.
|
int |
getRegistryEndpointPort()
Getter method for property registryEndpointPort.
|
String |
getSecretKey()
Getter method for property secretKey.
|
int |
getSocketTimeout()
Getter method for property socketTimeout.
|
int |
getSyncConfigRetryInterval()
Getter method for property syncConfigRetryInterval.
|
String |
getZone()
Getter method for property zone.
|
int |
hashCode()
Hash code int.
|
boolean |
isEventBusEnable()
Getter method for property eventBusEnable.
|
void |
setAlgorithm(String algorithm)
Setter method for property algorithm.
|
void |
setAuthCacheInterval(long authCacheInterval)
Setter method for property authCacheInterval.
|
void |
setEventBusEnable(boolean eventBusEnable)
Setter method for property eventBusEnable.
|
String |
toString()
To string string.
|
public DefaultRegistryClientConfig(String env, String instanceId, String ip, String zone, String registryEndpoint, int registryEndpointPort, String dataCenter, String appName, int connectTimeout, int socketTimeout, int invokeTimeout, int recheckInterval, int observerThreadCoreSize, int observerThreadMaxSize, int observerThreadQueueLength, int observerCallbackTimeout, int syncConfigRetryInterval, String accessKey, String secretKey, String algorithm, long authCacheInterval, boolean eventBusEnable)
env - the envinstanceId - the instance idip - the ipzone - the zoneregistryEndpoint - the registry endpointregistryEndpointPort - the registry endpoint portdataCenter - the data centerappName - the app nameconnectTimeout - the connect timeoutsocketTimeout - the socket timeoutinvokeTimeout - the invoke timeoutrecheckInterval - the recheck intervalobserverThreadCoreSize - the observer thread core sizeobserverThreadMaxSize - the observer thread max sizeobserverThreadQueueLength - the observer thread queue lengthobserverCallbackTimeout - the observer callback timeoutsyncConfigRetryInterval - the sync config retry intervalaccessKey - the access keysecretKey - the secret keyalgorithm - the algorithmauthCacheInterval - the auth cache intervalpublic String getEnv()
getEnv 在接口中 RegistryClientConfigpublic String getInstanceId()
getInstanceId 在接口中 RegistryClientConfigpublic String getIp()
getIp 在接口中 RegistryClientConfigpublic String getZone()
getZone 在接口中 RegistryClientConfigpublic String getRegistryEndpoint()
getRegistryEndpoint 在接口中 RegistryClientConfigpublic int getRegistryEndpointPort()
getRegistryEndpointPort 在接口中 RegistryClientConfigpublic String getDataCenter()
getDataCenter 在接口中 RegistryClientConfigpublic String getAppName()
getAppName 在接口中 RegistryClientConfigpublic int getConnectTimeout()
getConnectTimeout 在接口中 RegistryClientConfigpublic int getSocketTimeout()
getSocketTimeout 在接口中 RegistryClientConfigpublic int getInvokeTimeout()
getInvokeTimeout 在接口中 RegistryClientConfigpublic int getRecheckInterval()
getRecheckInterval 在接口中 RegistryClientConfigpublic int getObserverThreadCoreSize()
getObserverThreadCoreSize 在接口中 RegistryClientConfigpublic int getObserverThreadMaxSize()
getObserverThreadMaxSize 在接口中 RegistryClientConfigpublic int getObserverThreadQueueLength()
getObserverThreadQueueLength 在接口中 RegistryClientConfigpublic int getObserverCallbackTimeout()
getObserverCallbackTimeout 在接口中 RegistryClientConfigpublic int getSyncConfigRetryInterval()
getSyncConfigRetryInterval 在接口中 RegistryClientConfigpublic String getAccessKey()
getAccessKey 在接口中 RegistryClientConfigpublic String getSecretKey()
getSecretKey 在接口中 RegistryClientConfigpublic String getAlgorithm()
getAlgorithm 在接口中 RegistryClientConfigpublic void setAlgorithm(String algorithm)
algorithm - value to be assigned to property algorithmpublic long getAuthCacheInterval()
getAuthCacheInterval 在接口中 RegistryClientConfigpublic void setAuthCacheInterval(long authCacheInterval)
authCacheInterval - value to be assigned to property authCacheIntervalpublic boolean isEventBusEnable()
isEventBusEnable 在接口中 RegistryClientConfigpublic void setEventBusEnable(boolean eventBusEnable)
eventBusEnable - value to be assigned to property eventBusEnablepublic boolean equals(Object o)
Copyright © 2023 The Ant Financial. All rights reserved.