类的使用
com.alibaba.druid.pool.ha.node.NodeEvent
使用NodeEvent的程序包
-
com.alibaba.druid.pool.ha.node中NodeEvent的使用
返回变量类型为NodeEvent的类型的com.alibaba.druid.pool.ha.node中的方法修饰符和类型方法说明NodeEvent.generateEvents(Properties properties, List<String> names, NodeEventTypeEnum type) NodeEvent.getEventsByDiffProperties(Properties previous, Properties next) Diff the given two Properties.FileNodeListener.refresh()Load the properties file and diff with the stored Properties.NodeListener.refresh()The method implements the detail update logic.ZookeeperNodeListener.refresh()Build Properties from PathChildrenCache.参数类型为NodeEvent的com.alibaba.druid.pool.ha.node中的方法类型变量类型为NodeEvent的com.alibaba.druid.pool.ha.node中的方法参数