public class ServiceConfig<T> extends AbstractServiceConfig
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<MethodConfig> |
methods |
export, hostaccessLog, 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| 构造器和说明 |
|---|
ServiceConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
export() |
BasicServiceInterfaceConfig |
getBasicService() |
static ConcurrentHashSet<String> |
getExistingServices() |
AtomicBoolean |
getExported() |
List<Exporter<T>> |
getExporters() |
String |
getHost() |
Class<?> |
getInterface() |
List<MethodConfig> |
getMethods() |
Map<String,Integer> |
getProtocolAndPort() |
T |
getRef() |
ConcurrentHashSet<URL> |
getRegistereUrls() |
boolean |
hasMethods() |
protected boolean |
serviceExists(URL url) |
void |
setBasicService(BasicServiceInterfaceConfig basicService) |
void |
setHost(String host) |
void |
setInterface(Class<T> interfaceClass) |
void |
setMethods(List<MethodConfig> methods) |
void |
setMethods(MethodConfig methods) |
void |
setRef(T ref) |
void |
unexport() |
getExport, setExportcheckInterfaceAndMethods, 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 static ConcurrentHashSet<String> getExistingServices()
public Class<?> getInterface()
public List<MethodConfig> getMethods()
public void setMethods(MethodConfig methods)
public void setMethods(List<MethodConfig> methods)
public boolean hasMethods()
public T getRef()
public void setRef(T ref)
protected boolean serviceExists(URL url)
public void export()
public void unexport()
@ConfigDesc(excluded=true) public BasicServiceInterfaceConfig getBasicService()
public void setBasicService(BasicServiceInterfaceConfig basicService)
@ConfigDesc(excluded=true) public String getHost()
getHost 在类中 AbstractServiceConfigpublic void setHost(String host)
setHost 在类中 AbstractServiceConfigpublic AtomicBoolean getExported()
public ConcurrentHashSet<URL> getRegistereUrls()
Copyright © 2017. All rights reserved.