private void notifyListeners() {
        if (listeners == null) return;
        for (Runnable listener : listeners)
            listener.run();
    }
Adds a listener which is invoked whenever elements are added to this.
This may not be invoked once for each added element.
vespajlib/src/main/java/com/yahoo/collections/ListenableArrayList.java