public List<Runnable> listeners() {
        if (listeners == null) return List.of();
        return Collections.unmodifiableList(listeners);
    }
An array list which notifies listeners after one or more items are added

@author bratseth
vespajlib/src/main/java/com/yahoo/collections/ListenableArrayList.java