| Package | Description |
|---|---|
| com.alibaba.druid.pool.ha.node |
| Modifier and Type | Method and Description |
|---|---|
static List<NodeEvent> |
NodeEvent.generateEvents(Properties properties,
List<String> names,
NodeEventTypeEnum type) |
static List<NodeEvent> |
NodeEvent.getEventsByDiffProperties(Properties previous,
Properties next)
Diff the given two Properties.
|
List<NodeEvent> |
ZookeeperNodeListener.refresh()
Build Properties from PathChildrenCache.
|
List<NodeEvent> |
FileNodeListener.refresh()
Load the properties file and diff with the stored Properties.
|
abstract List<NodeEvent> |
NodeListener.refresh()
The method implements the detail update logic.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NodeListener.update(List<NodeEvent> events)
Notify the Observer.
|
Copyright © 2013–2020 Alibaba Group. All rights reserved.