Package net.bluemind.lib.vertx.utils
Class DebouncedEventPublisher
java.lang.Object
net.bluemind.lib.vertx.utils.DebouncedEventPublisher
Publish events on the Vert.x event bus in a debounce-like way.
- See Also:
-
Constructor Summary
ConstructorDescriptionDebouncedEventPublisher
(String address, io.vertx.core.eventbus.EventBus eventBus, int debounceTimeMillis) DebouncedEventPublisher
withnoDebounceFirstMode=true
DebouncedEventPublisher
(String address, io.vertx.core.eventbus.EventBus eventBus, int debounceTimeMillis, boolean noDebounceFirstMode) -
Method Summary
-
Constructor Details
-
DebouncedEventPublisher
public DebouncedEventPublisher(String address, io.vertx.core.eventbus.EventBus eventBus, int debounceTimeMillis) DebouncedEventPublisher
withnoDebounceFirstMode=true
- Parameters:
address
-eventBus
-debounceTimeMillis
-
-
DebouncedEventPublisher
public DebouncedEventPublisher(String address, io.vertx.core.eventbus.EventBus eventBus, int debounceTimeMillis, boolean noDebounceFirstMode)
-
-
Method Details
-
publish
-