Package org.apache.dubbo.config
Class AbstractMethodConfig
java.lang.Object
org.apache.dubbo.config.AbstractConfig
org.apache.dubbo.config.AbstractMethodConfig
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractInterfaceConfig,MethodConfig
Abstract configuration for the method.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCache()getForks()getMock()getSent()isAsync()voidsetActives(Integer actives) voidvoidvoidvoidsetLoadbalance(String loadbalance) voidvoidDeprecated.voidvoidsetParameters(Map<String, String> parameters) voidsetRetries(Integer retries) voidvoidsetTimeout(Integer timeout) voidsetValidation(String validation) Methods 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
-
AbstractMethodConfig
public AbstractMethodConfig() -
AbstractMethodConfig
-
-
Method Details
-
getScopeModel
- Overrides:
getScopeModelin classAbstractConfig
-
getForks
-
setForks
-
getTimeout
-
setTimeout
-
getRetries
-
setRetries
-
getLoadbalance
-
setLoadbalance
-
isAsync
-
setAsync
-
getActives
-
setActives
-
getSent
-
setSent
-
getMock
-
setMock
-
setMock
Deprecated.usesetMock(String)insteadSet the property "mock"- Parameters:
mock- the value of mock- Since:
- 2.7.6
-
getMerger
-
setMerger
-
getCache
-
setCache
-
getValidation
-
setValidation
-
getParameters
-
setParameters
-
setMock(String)instead