Package org.onlab.util
Interface PredictableExecutor.PickyTask
-
- All Known Subinterfaces:
PredictableExecutor.PickyCallable<T>
,PredictableExecutor.PickyRunnable
- All Known Implementing Classes:
PredictableExecutor.PickyFutureTask
- Enclosing class:
- PredictableExecutor
public static interface PredictableExecutor.PickyTask
Abstraction to give a task a way to express it's preference to run on certain thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
hint()
Returns hint for choosing which Thread to run this task on.
-