presto-main/src/main/java/io/prestosql/metadata/InternalNodeManager.java/InternalNodeManager/addNodeChangeListener
class InternalNodeManager:    void addNodeChangeListener(Consumer<AllNodes> listener);