public class Debouncer
extends java.lang.Object
| Constructor and Description |
|---|
Debouncer(int interval,
java.lang.Runnable runnable)
Creates a new
Debouncer. |
| Modifier and Type | Method and Description |
|---|---|
void |
call()
Request the execution of the operation.
|
void |
finish()
Shut this
Debouncer down by executing any pending request. |
public Debouncer(int interval,
java.lang.Runnable runnable)
Debouncer.interval - the interval to wait for new calls.runnable - the task to executeCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.