Package net.bluemind.lib.vertx.utils
Class Debouncer<P>
java.lang.Object
net.bluemind.lib.vertx.utils.Debouncer<P>
Block calls to the given
BiConsumer
in a debounce way. Allow
the last call to be executed after a grace period (interval
). Each
call is identified using KEY
. Only calls sharing the same
identity block each others. Thread safe.