@Deprecated
    public void registerFilterForCleanup(List<Map.Entry<String, String>> filter) {
        synchronized (DEATH_NOTE) {
            DEATH_NOTE.add(filter);
            DEATH_NOTE.notifyAll();
        }
    }
Register a filter to be cleaned up.

@param filter the filter
@deprecated only label filter is supported by the prune API, use {@link #registerLabelsFilterForCleanup(Map)}
core/src/main/java/org/testcontainers/utility/ResourceReaper.java