| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.rpc.config |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,MethodConfig> |
AbstractInterfaceConfig.methods
方法配置,可配置多个
|
| 限定符和类型 | 方法和说明 |
|---|---|
MethodConfig |
MethodConfig.setCache(Boolean cache)
Sets cache.
|
MethodConfig |
MethodConfig.setCompress(String compress)
Sets compress.
|
MethodConfig |
MethodConfig.setConcurrents(Integer concurrents)
Sets concurrents.
|
MethodConfig |
MethodConfig.setDstParam(Integer dstParam)
Sets dst param.
|
MethodConfig |
MethodConfig.setInvokeType(String invokeType)
Sets invoke type.
|
MethodConfig |
MethodConfig.setName(String name)
Sets name.
|
MethodConfig |
MethodConfig.setOnReturn(SofaResponseCallback onReturn)
Sets onReturn.
|
MethodConfig |
MethodConfig.setParameter(String key,
String value)
Sets parameter.
|
MethodConfig |
MethodConfig.setParameters(Map<String,String> parameters)
Sets parameters.
|
MethodConfig |
MethodConfig.setRetries(Integer retries)
Sets retries.
|
MethodConfig |
MethodConfig.setTimeout(Integer timeout)
Sets timeout.
|
MethodConfig |
MethodConfig.setValidation(Boolean validation)
Sets validation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,MethodConfig> |
AbstractInterfaceConfig.getMethods()
Gets methods.
|
| 限定符和类型 | 方法和说明 |
|---|---|
S |
AbstractInterfaceConfig.setMethods(List<MethodConfig> methods)
Sets methods.
|
S |
AbstractInterfaceConfig.setMethods(Map<String,MethodConfig> methods)
Sets methods.
|
Copyright © 2008–2018 The Ant Financial. All rights reserved.