public static class ThreadReuseExecutor.RunnableWrapper extends Object implements ThreadReuseExecutor.PrioritizedRunnable, Comparable<ThreadReuseExecutor.RunnableWrapper>
NO_WAIT_PRIORITY| Constructor and Description |
|---|
RunnableWrapper(Runnable r) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ThreadReuseExecutor.RunnableWrapper o) |
long |
getCreationTime() |
DQPWorkContext |
getDqpWorkContext() |
int |
getPriority()
The execution priority - higher is lower
|
void |
run() |
public RunnableWrapper(Runnable r)
public long getCreationTime()
getCreationTime in interface ThreadReuseExecutor.PrioritizedRunnablepublic int getPriority()
ThreadReuseExecutor.PrioritizedRunnablegetPriority in interface ThreadReuseExecutor.PrioritizedRunnablepublic DQPWorkContext getDqpWorkContext()
getDqpWorkContext in interface ThreadReuseExecutor.PrioritizedRunnablepublic int compareTo(ThreadReuseExecutor.RunnableWrapper o)
compareTo in interface Comparable<ThreadReuseExecutor.RunnableWrapper>Copyright © 2020. All rights reserved.