presto-main/src/main/java/io/prestosql/metadata/DiscoveryNodeManager.java/DiscoveryNodeManager/getAllNodes
class DiscoveryNodeManager:    @Override
    public synchronized AllNodes getAllNodes()
    {
        return allNodes;
    }