Package net.sf.jstuff.core.event
Class DebouncingEventDispatcher.Builder<EVENT>
java.lang.Object
net.sf.jstuff.core.event.DebouncingEventDispatcher.Builder<EVENT>
- Enclosing class:
- DebouncingEventDispatcher<EVENT>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable EventDispatcher<EVENT>
protected @Nullable ScheduledExecutorService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DebouncingEventDispatcher<EVENT>
build()
delegate
(EventDispatcher<EVENT> value) eventKeyProvider
(Function<EVENT, Object> value) All events with the same event key are debounced.
-
Field Details
-
delegate
-
scheduler
-
eventKeyProvider
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delegate
-
eventKeyProvider
All events with the same event key are debounced. By default object identity is used as event key. -
scheduler
-
build
-