void (@NotNull Consumer<? super K> keyConsumer) { //RC: same key could be reported more than once to the consumer -- is it OK? protectedQueue.keySet().forEach(keyConsumer); probationalQueue.keySet().forEach(keyConsumer); }