public class AsyncDispatcher<K> extends Object
Constructor and Description |
---|
AsyncDispatcher(InternalCache _cache,
Executor _executor) |
Modifier and Type | Method and Description |
---|---|
void |
queue(AsyncEvent<K> _event)
Immediately executes an event with the provided executor.
|
void |
runMoreOrStop(AsyncEvent<K> _event)
Run as long there is still an event for the key.
|
public AsyncDispatcher(InternalCache _cache, Executor _executor)
public void queue(AsyncEvent<K> _event)
public void runMoreOrStop(AsyncEvent<K> _event)
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.