public class ThrottleMessages<T>
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>>
Constructor and Description |
---|
ThrottleMessages(java.util.function.Function<io.vertx.core.eventbus.Message<T>,java.lang.Object> eventToKey,
java.util.function.BiFunction<io.vertx.core.eventbus.Message<T>,io.vertx.core.eventbus.Message<T>,io.vertx.core.eventbus.Message<T>> msgAccu,
io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>> wrappedHandler,
io.vertx.core.Vertx vertx,
int throttleTimeInMs) |
ThrottleMessages(java.util.function.Function<io.vertx.core.eventbus.Message<T>,java.lang.Object> eventToKey,
io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>> wrappedHandler,
io.vertx.core.Vertx vertx,
int throttleTimeInMs) |
Modifier and Type | Method and Description |
---|---|
void |
handle(io.vertx.core.eventbus.Message<T> event) |
public ThrottleMessages(java.util.function.Function<io.vertx.core.eventbus.Message<T>,java.lang.Object> eventToKey, io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>> wrappedHandler, io.vertx.core.Vertx vertx, int throttleTimeInMs)
public ThrottleMessages(java.util.function.Function<io.vertx.core.eventbus.Message<T>,java.lang.Object> eventToKey, java.util.function.BiFunction<io.vertx.core.eventbus.Message<T>,io.vertx.core.eventbus.Message<T>,io.vertx.core.eventbus.Message<T>> msgAccu, io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>> wrappedHandler, io.vertx.core.Vertx vertx, int throttleTimeInMs)
Copyright © 2021. All Rights Reserved.