Interface ThreadPool.Supervised
- Enclosing class:
ThreadPool
public static interface ThreadPool.Supervised
Marks jobs that can be supervised and interrupted when expired.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexpired()Indicates whether the supervised job has expired.
-
Method Details
-
expired
boolean expired()Indicates whether the supervised job has expired.- Returns:
trueif the job should be interrupted
-