Package net.bluemind.lib.vertx.utils
Class ThrottleMessages<T>
java.lang.Object
net.bluemind.lib.vertx.utils.ThrottleMessages<T>
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>>
public class ThrottleMessages<T>
extends Object
implements io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>>
-
Constructor Summary
ConstructorDescriptionThrottleMessages
(Function<io.vertx.core.eventbus.Message<T>, Object> eventToKey, io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>> wrappedHandler, io.vertx.core.Vertx vertx, IntSupplier throttleTimeInMs) -
Method Summary
-
Constructor Details
-
ThrottleMessages
public ThrottleMessages(Function<io.vertx.core.eventbus.Message<T>, Object> eventToKey, io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>> wrappedHandler, io.vertx.core.Vertx vertx, IntSupplier throttleTimeInMs)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceio.vertx.core.Handler<T>
-