public class ConsumerConfig extends AbstractReferenceConfig
| Constructor and Description |
|---|
ConsumerConfig() |
ConsumerConfig(ModuleModel moduleModel) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClient() |
Integer |
getCorethreads() |
Integer |
getQueues() |
Boolean |
getReferBackground()
Deprecated.
|
Integer |
getReferThreadNum() |
Integer |
getShareconnections() |
String |
getThreadpool() |
Integer |
getThreads() |
String |
getUrlMergeProcessor() |
void |
setClient(String client) |
void |
setCorethreads(Integer corethreads) |
void |
setQueues(Integer queues) |
void |
setReferBackground(Boolean referBackground)
Deprecated.
replace with
ModuleConfig.setBackground(Boolean) |
void |
setReferThreadNum(Integer referThreadNum) |
void |
setShareconnections(Integer shareconnections) |
void |
setThreadpool(String threadpool) |
void |
setThreads(Integer threads) |
void |
setTimeout(Integer timeout) |
void |
setUrlMergeProcessor(String urlMergeProcessor) |
getFilter, getGeneric, getLazy, getListener, getProvidedBy, getReconnect, getReferAsync, getRouter, getSticky, getStubevent, isCheck, isGeneric, isInit, isInjvm, setCheck, setGeneric, setGeneric, setInit, setInjvm, setLazy, setListener, setOnconnect, setOndisconnect, setProvidedBy, setReconnect, setReferAsync, setRouter, setStickyaddMethod, appendRuntimeParameters, getApplication, getAuth, getCallbacks, getCluster, getConfigCenter, getConnections, getExportedUrls, getGroup, getGroup, getInterface, getInterfaceClassLoader, getLayer, getLocal, getMetadataReportConfig, getMethods, getModule, getMonitor, getOnconnect, getOndisconnect, getOwner, getProxy, getRegistries, getRegistry, getRegistryIds, getScope, getSslConfig, getStub, getTag, getVersion, getVersion, setApplication, setAuth, setCallbacks, setCluster, setConfigCenter, setConnections, setFilter, setGroup, setInterface, setInterfaceClassLoader, setLayer, setLocal, setLocal, setMetadataReportConfig, setMethods, setModule, setMonitor, setMonitor, setOwner, setProxy, setRegistries, setRegistry, setRegistryIds, setScope, setStub, setStub, setTag, setVersion, toUrl, toUrlsgetActives, getCache, getForks, getLoadbalance, getMerger, getMock, getParameters, getRetries, getScopeModel, getSent, getTimeout, getValidation, isAsync, setActives, setAsync, setCache, setForks, setLoadbalance, setMerger, setMock, setMock, setParameters, setRetries, setSent, setValidationappendAttributes, appendParameters, appendParameters, equals, getApplicationModel, getId, getMetaData, getPluralTagName, getPrefixes, getTagName, getTypePrefix, hashCode, isDefault, isRefreshed, isValid, refresh, setDefault, setId, setScopeModel, toStringpublic ConsumerConfig()
public ConsumerConfig(ModuleModel moduleModel)
public void setTimeout(Integer timeout)
setTimeout in class AbstractMethodConfigpublic String getClient()
public void setClient(String client)
public String getThreadpool()
public void setThreadpool(String threadpool)
public Integer getCorethreads()
public void setCorethreads(Integer corethreads)
public Integer getThreads()
public void setThreads(Integer threads)
public Integer getQueues()
public void setQueues(Integer queues)
public Integer getShareconnections()
public void setShareconnections(Integer shareconnections)
@Parameter(key="url-merge-processor") public String getUrlMergeProcessor()
public void setUrlMergeProcessor(String urlMergeProcessor)
@Parameter(key="refer-thread-num", excluded=true) public Integer getReferThreadNum()
public void setReferThreadNum(Integer referThreadNum)
@Deprecated @Parameter(key="refer-background", excluded=true) public Boolean getReferBackground()
@Deprecated public void setReferBackground(Boolean referBackground)
ModuleConfig.setBackground(Boolean)ModuleConfig.setBackground(Boolean)Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.