类 RegistryConfig
- java.lang.Object
-
- com.alibaba.dubbo.config.AbstractConfig
-
- com.alibaba.dubbo.config.RegistryConfig
-
- 所有已实现的接口:
Serializable
public class RegistryConfig extends AbstractConfig
RegistryConfig- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static String
NO_AVAILABLE
-
构造器概要
构造器 构造器 说明 RegistryConfig()
RegistryConfig(String address)
RegistryConfig(String address, String protocol)
-
方法概要
-
从类继承的方法 com.alibaba.dubbo.config.AbstractConfig
getId, setId, toString
-
-
-
-
方法详细资料
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
getAddress
@Parameter(excluded=true) public String getAddress()
-
setAddress
public void setAddress(String address)
-
getPort
public Integer getPort()
-
setPort
public void setPort(Integer port)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getWait
@Deprecated public Integer getWait()
已过时。- 返回:
- wait
- 另请参阅:
ProviderConfig.getWait()
-
setWait
@Deprecated public void setWait(Integer wait)
已过时。- 参数:
wait
-- 另请参阅:
ProviderConfig.setWait(Integer)
-
isCheck
public Boolean isCheck()
-
setCheck
public void setCheck(Boolean check)
-
getFile
public String getFile()
-
setFile
public void setFile(String file)
-
getTransport
@Deprecated @Parameter(excluded=true) public String getTransport()
已过时。- 返回:
- transport
- 另请参阅:
getTransporter()
-
setTransport
@Deprecated public void setTransport(String transport)
已过时。- 参数:
transport
-- 另请参阅:
setTransporter(String)
-
getTransporter
public String getTransporter()
-
setTransporter
public void setTransporter(String transporter)
-
getServer
public String getServer()
-
setServer
public void setServer(String server)
-
getClient
public String getClient()
-
setClient
public void setClient(String client)
-
getTimeout
public Integer getTimeout()
-
setTimeout
public void setTimeout(Integer timeout)
-
getSession
public Integer getSession()
-
setSession
public void setSession(Integer session)
-
isDynamic
public Boolean isDynamic()
-
setDynamic
public void setDynamic(Boolean dynamic)
-
isRegister
public Boolean isRegister()
-
setRegister
public void setRegister(Boolean register)
-
isSubscribe
public Boolean isSubscribe()
-
setSubscribe
public void setSubscribe(Boolean subscribe)
-
getCluster
public String getCluster()
-
setCluster
public void setCluster(String cluster)
-
getGroup
public String getGroup()
-
setGroup
public void setGroup(String group)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
isDefault
public Boolean isDefault()
-
setDefault
public void setDefault(Boolean isDefault)
-
-