public class Throttle<T>
extends java.lang.Object
implements org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<? extends T>>
Constructor and Description |
---|
Throttle(org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<? extends T>> wrappedHandler,
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>> accu,
org.vertx.java.core.Vertx vertx,
int throttleTimeInMs) |
Throttle(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 |
---|---|
static <T> 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>> |
firstAccumulator() |
void |
handle(org.vertx.java.core.eventbus.Message<? extends T> event) |
static <T> 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>> |
lastAccumulator() |
public Throttle(org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<? extends T>> wrappedHandler, 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>> accu, org.vertx.java.core.Vertx vertx, int throttleTimeInMs)
public Throttle(org.vertx.java.core.Handler<org.vertx.java.core.eventbus.Message<? extends T>> wrappedHandler, org.vertx.java.core.Vertx vertx, int throttleTimeInMs)
public static <T> 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>> lastAccumulator()
public static <T> 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>> firstAccumulator()
Copyright © 2021. All Rights Reserved.