io.atomix.event.EventListener to java.util.function.Consumer