|
YAACC - UPNP Client and Server
|
Runs an action once for any number of requests that arrive within a delay: the first request starts the delay, requests during it are absorbed, then the action runs once on a worker thread. More...

Public Member Functions | |
| DebouncedAction (Runnable action, long delayMillis, String threadName) | |
| void | request () |
| Asks for the action; it runs once after the delay, however often this is called meanwhile. | |
| void | shutdown () |
| Ends the worker thread; a request that is waiting is dropped. | |
Runs an action once for any number of requests that arrive within a delay: the first request starts the delay, requests during it are absorbed, then the action runs once on a worker thread.
A request after the action started starts a new round.
| void de.yaacc.upnp.server.DebouncedAction.request | ( | ) |
Asks for the action; it runs once after the delay, however often this is called meanwhile.
Never blocks.