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