Class DebouncedEventPublisher

java.lang.Object
net.bluemind.lib.vertx.utils.DebouncedEventPublisher

public class DebouncedEventPublisher extends Object
Publish events on the Vert.x event bus in a debounce-like way.
See Also:
  • Constructor Details

    • DebouncedEventPublisher

      public DebouncedEventPublisher(String address, io.vertx.core.eventbus.EventBus eventBus, int debounceTimeMillis)
      DebouncedEventPublisher with noDebounceFirstMode=true
      Parameters:
      address -
      eventBus -
      debounceTimeMillis -
    • DebouncedEventPublisher

      public DebouncedEventPublisher(String address, io.vertx.core.eventbus.EventBus eventBus, int debounceTimeMillis, boolean noDebounceFirstMode)
  • Method Details

    • publish

      public void publish(Object message)