Class Debouncer<T>
java.lang.Object
com.inductiveautomation.ignition.gateway.util.Debouncer<T>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDebouncer
(ScheduledExecutorService scheduler, ExecutorService executor, long debounce, TimeUnit timeUnit) -
Method Summary
-
Constructor Details
-
Debouncer
public Debouncer(ScheduledExecutorService scheduler, ExecutorService executor, long debounce, TimeUnit timeUnit) - Parameters:
scheduler
- No blocking work will be done hereexecutor
- Expensive blocking work will be done heredebounce
- How long to wait between updates and doing the worktimeUnit
- The time unit of the debounce parameter
-
-
Method Details
-
process
-
submit
-
debounce
-