Package org.apache.dubbo.config
Class ConsumerConfig
- All Implemented Interfaces:
Serializable
The service consumer default configuration
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidsetCorethreads(Integer corethreads) voidsetMeshEnable(Boolean meshEnable) voidvoidsetReferBackground(Boolean referBackground) Deprecated.voidsetReferThreadNum(Integer referThreadNum) voidsetShareconnections(Integer shareconnections) voidsetThreadpool(String threadpool) voidsetThreads(Integer threads) voidsetTimeout(Integer timeout) voidsetUrlMergeProcessor(String urlMergeProcessor) Methods inherited from class org.apache.dubbo.config.AbstractReferenceConfig
getClient, getFilter, getGeneric, getLazy, getListener, getProtocol, getProvidedBy, getProviderNamespace, getProviderPort, getReconnect, getReferAsync, getRouter, getSticky, getStubevent, isCheck, isGeneric, isInit, isInjvm, setCheck, setClient, setGeneric, setGeneric, setInit, setInjvm, setLazy, setListener, setOnconnect, setOndisconnect, setProtocol, setProvidedBy, setProviderNamespace, setProviderPort, setReconnect, setReferAsync, setRouter, setStickyMethods inherited from class org.apache.dubbo.config.AbstractInterfaceConfig
addMethod, appendRuntimeParameters, getApplication, getAuth, getAuthenticator, getCallbacks, getCluster, getConfigCenter, getConnections, getExportedUrls, getGroup, getGroup, getInterface, getInterfaceClassLoader, getLayer, getLocal, getMetadataReportConfig, getMethods, getModule, getMonitor, getOnconnect, getOndisconnect, getOwner, getPassword, getProxy, getRegistries, getRegistry, getRegistryIds, getScope, getSingleton, getSslConfig, getStub, getTag, getUsername, getVersion, getVersion, setApplication, setAuth, setAuthenticator, setCallbacks, setCluster, setConfigCenter, setConnections, setFilter, setGroup, setInterface, setInterfaceClassLoader, setLayer, setLocal, setLocal, setMetadataReportConfig, setMethods, setMethodsJson, setModule, setMonitor, setMonitor, setOwner, setPassword, setProxy, setRegistries, setRegistry, setRegistryIds, setScope, setSingleton, setStub, setStub, setTag, setUsername, setVersion, toUrl, toUrlsMethods inherited from class org.apache.dubbo.config.AbstractMethodConfig
getActives, getCache, getForks, getLoadbalance, getMerger, getMock, getParameters, getRetries, getScopeModel, getSent, getTimeout, getValidation, isAsync, setActives, setAsync, setCache, setForks, setLoadbalance, setMerger, setMock, setMock, setParameters, setRetries, setSent, setValidationMethods inherited from class org.apache.dubbo.config.AbstractConfig
appendAttributes, appendAttributes, appendParameters, appendParameters, equals, getApplicationModel, getConfigMode, getId, getMetaData, getMetaData, getPluralTagName, getPrefixes, getTagName, getTypePrefix, hashCode, isDefault, isNeedRefresh, isRefreshed, isValid, overrideWithConfig, refresh, setDefault, setId, setNeedRefresh, setScopeModel, toString
-
Constructor Details
-
ConsumerConfig
public ConsumerConfig() -
ConsumerConfig
-
-
Method Details
-
setTimeout
- Overrides:
setTimeoutin classAbstractMethodConfig
-
getThreadpool
-
setThreadpool
-
getCorethreads
-
setCorethreads
-
getThreads
-
setThreads
-
getQueues
-
setQueues
-
getUrlMergeProcessor
-
setUrlMergeProcessor
-
getReferThreadNum
-
setReferThreadNum
-
getReferBackground
Deprecated. -
setReferBackground
Deprecated.replace withModuleConfig.setBackground(Boolean)Whether refer should run in background or not.- See Also:
-
getMeshEnable
-
setMeshEnable
-
ModuleConfig.setBackground(Boolean)