类 AbstractConfigurator
- java.lang.Object
-
- com.alibaba.dubbo.rpc.cluster.configurator.AbstractConfigurator
-
- 所有已实现的接口:
Configurator
,Comparable<Configurator>
- 直接已知子类:
AbsentConfigurator
,OverrideConfigurator
public abstract class AbstractConfigurator extends Object implements Configurator
AbstractOverrideConfigurator
-
-
构造器概要
构造器 构造器 说明 AbstractConfigurator(URL url)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 int
compareTo(Configurator o)
Sort by host, priority 1. the url with a specific host ip should have higher priority than 0.0.0.0 2. if two url has the same host, compare by priority value;URL
configure(URL url)
Configure the provider url.URL
getUrl()
get the configurator url.static void
main(String[] args)
-
-
-
构造器详细资料
-
AbstractConfigurator
public AbstractConfigurator(URL url)
-
-
方法详细资料
-
main
public static void main(String[] args)
-
getUrl
public URL getUrl()
从接口复制的说明:Configurator
get the configurator url.- 指定者:
getUrl
在接口中Configurator
- 返回:
- configurator url.
-
configure
public URL configure(URL url)
从接口复制的说明:Configurator
Configure the provider url. O- 指定者:
configure
在接口中Configurator
- 参数:
url
- - old rovider url.- 返回:
- new provider url.
-
compareTo
public int compareTo(Configurator o)
Sort by host, priority 1. the url with a specific host ip should have higher priority than 0.0.0.0 2. if two url has the same host, compare by priority value;- 指定者:
compareTo
在接口中Comparable<Configurator>
- 参数:
o
-- 返回:
-
-