public class RefererConfig<T> extends AbstractRefererConfig
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<MethodConfig> |
methods |
asyncInitConnection, errorRate, mean, p90, p99, p999accessLog, actives, application, async, backupRequestDelayRatio, backupRequestDelayTime, backupRequestMaxRetryRatio, backupRequestSwitcherName, check, codec, extConfig, filter, group, localServiceAddress, mingzSize, mock, module, protocols, proxy, register, registries, requestTimeout, retries, shareChannel, throwException, transExceptionStack, usegz, versionid| 构造器和说明 |
|---|
RefererConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
BasicRefererInterfaceConfig |
getBasicReferer() |
List<ClusterSupport<T>> |
getClusterSupports() |
String |
getDirectUrl() |
AtomicBoolean |
getInitialized() |
Class<?> |
getInterface() |
List<MethodConfig> |
getMethods() |
T |
getRef() |
boolean |
hasMethods() |
void |
initRef() |
void |
setBasicReferer(BasicRefererInterfaceConfig basicReferer) |
void |
setDirectUrl(String directUrl) |
void |
setInterface(Class<T> interfaceClass) |
void |
setMethods(List<MethodConfig> methods) |
void |
setMethods(MethodConfig methods) |
getAsyncInitConnection, getErrorRate, getMean, getP90, getP99, getP999, setAsyncInitConnection, setErrorRate, setMean, setP90, setP99, setP999checkInterfaceAndMethods, getAccessLog, getActives, getApplication, getAsync, getBackupRequestDelayRatio, getBackupRequestDelayTime, getBackupRequestMaxRetryRatio, getBackupRequestSwitcherName, getCheck, getCodec, getExtConfig, getFilter, getGroup, getLocalHostAddress, getLocalServiceAddress, getMingzSize, getMock, getModule, getProtocols, getProxy, getRegister, getRegistries, getRequestTimeout, getRetries, getShareChannel, getThrowException, getTransExceptionStack, getUsegz, getVersion, hasProtocol, loadRegistryUrls, setAccessLog, setActives, setApplication, setAsync, setBackupRequestDelayRatio, setBackupRequestDelayTime, setBackupRequestMaxRetryRatio, setBackupRequestSwitcherName, setCheck, setCheck, setCodec, setExtConfig, setFilter, setGroup, setLocalServiceAddress, setMingzSize, setMock, setModule, setProtocol, setProtocols, setProxy, setRegister, setRegistries, setRegistry, setRequestTimeout, setRetries, setShareChannel, setThrowException, setTransExceptionStack, setUsegz, setVersionappendConfigParams, appendConfigParams, collectConfigParams, collectMethodConfigParams, getId, setId, toStringprotected List<MethodConfig> methods
public List<MethodConfig> getMethods()
public void setMethods(List<MethodConfig> methods)
public void setMethods(MethodConfig methods)
public boolean hasMethods()
public T getRef()
public void initRef()
public void destroy()
public Class<?> getInterface()
public String getDirectUrl()
public void setDirectUrl(String directUrl)
@ConfigDesc(excluded=true) public BasicRefererInterfaceConfig getBasicReferer()
public void setBasicReferer(BasicRefererInterfaceConfig basicReferer)
public List<ClusterSupport<T>> getClusterSupports()
public AtomicBoolean getInitialized()
Copyright © 2017. All rights reserved.