public class KeyedExecutor<K> extends Object
| Constructor and Description |
|---|
KeyedExecutor(Executor delegateExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable runnable,
K key)
Adds a Runnable to the executor queue.
|
public KeyedExecutor(Executor delegateExecutor)
public void execute(Runnable runnable, K key)
runnable - the runnable task.key - task key. Must be immutable and have equals() and hashMap().Copyright © 2023 Atlassian. All rights reserved.