public abstract class AbstractRefreshListener<M> extends Object implements RefreshListener<Hippo4jConfigDynamicRefreshEvent,M>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ALL |
protected static String |
SEPARATOR |
protected static cn.hippo4j.common.model.WebIpAndPortInfo |
webIpAndPort
Application ip and application post
|
| 构造器和说明 |
|---|
AbstractRefreshListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getNodes(M properties)
Get nodes in new properties.
|
protected void |
initIpAndPort() |
boolean |
match(M properties)
Matching nodes
nodes is ip + port.Get 'nodes' in the new Properties,Compare this with the ip + port of Application. |
protected static volatile cn.hippo4j.common.model.WebIpAndPortInfo webIpAndPort
protected void initIpAndPort()
public boolean match(M properties)
match 在接口中 cn.hippo4j.common.function.Matcher<M>properties - new PropertiesCopyright © 2022. All rights reserved.