graphaware / neo4j-framework

GraphAware Neo4j Framework
244 stars 68 forks source link

Add support to topology changes #70

Closed albertodelazzari closed 7 years ago

albertodelazzari commented 7 years ago

It will be helpful if each module can listen to topology changes in order to change its behaviour.

A module must implement the TopologyChangeEventListener interface in order to listen to a TopologyChangeEvent. When a change in topology occurs than it will be notified about this event receiving a TopologyChangeEvent.

This event will have the following fields:

This event is an abstraction over the different events that can occur when using an HA cluster or a Causal one.