public class JbootrpcReferenceConfig extends Object implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
private Integer |
actives
Maximum active requests allowed, default value is 0
|
private String |
application
Application associated name
|
private Boolean |
async
Whether to enable async invocation, default value is false
|
private Boolean |
check
Check if service provider is available during boot up, default value is true
|
private String |
consumer
Consumer associated name
|
private Boolean |
generic
Whether to enable generic invocation, default value is false
|
private String |
group
Service group, default value is empty string
|
private String |
id
The id
default value is empty
|
private String |
loadbalance
Load balance strategy, legal values include: random, roundrobin, leastactive
see Constants#DEFAULT_LOADBALANCE
|
private String |
module
Module associated name
|
private String |
monitor
Monitor associated name
|
private String |
protocol
the default value is ""
|
private String |
registry
Registry associated name
|
private Integer |
retries
Service invocation retry times
see Constants#DEFAULT_RETRIES
|
private String |
tag
Service tag name
|
private Integer |
timeout
Timeout value for service invocation, default value is 0
|
private String |
url
Service target URL for direct invocation, if this is specified, then registry center takes no effect.
|
private String |
version
Service version, default value is empty string
|
| 构造器和说明 |
|---|
JbootrpcReferenceConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
int |
getActives() |
String |
getApplication() |
String |
getConsumer() |
String |
getGroup() |
String |
getId() |
String |
getLoadbalance() |
String |
getModule() |
String |
getMonitor() |
String |
getProtocol() |
String |
getRegistry() |
int |
getRetries() |
String |
getTag() |
int |
getTimeout() |
String |
getUrl() |
String |
getVersion() |
int |
hashCode() |
boolean |
isAsync() |
boolean |
isCheck() |
boolean |
isGeneric() |
void |
setActives(int actives) |
void |
setApplication(String application) |
void |
setAsync(boolean async) |
void |
setCheck(boolean check) |
void |
setConsumer(String consumer) |
void |
setGeneric(boolean generic) |
void |
setGroup(String group) |
void |
setId(String id) |
void |
setLoadbalance(String loadbalance) |
void |
setModule(String module) |
void |
setMonitor(String monitor) |
void |
setProtocol(String protocol) |
void |
setRegistry(String registry) |
void |
setRetries(int retries) |
void |
setTag(String tag) |
void |
setTimeout(int timeout) |
void |
setUrl(String url) |
void |
setVersion(String version) |
private String url
private Boolean check
private String loadbalance
see Constants#DEFAULT_LOADBALANCE
private String application
public JbootrpcReferenceConfig()
public String getVersion()
public void setVersion(String version)
public boolean isGeneric()
public void setGeneric(boolean generic)
public boolean isCheck()
public void setCheck(boolean check)
public int getRetries()
public void setRetries(int retries)
public String getLoadbalance()
public void setLoadbalance(String loadbalance)
public boolean isAsync()
public void setAsync(boolean async)
public int getActives()
public void setActives(int actives)
public int getTimeout()
public void setTimeout(int timeout)
public String getApplication()
public void setApplication(String application)
public String getConsumer()
public void setConsumer(String consumer)
public String getMonitor()
public void setMonitor(String monitor)
public String getRegistry()
public void setRegistry(String registry)
public String getProtocol()
public void setProtocol(String protocol)
Copyright © 2024. All rights reserved.