-
Method Summary
boolean
Signals if a task can be interrupted at the time this method is called.
default void
-
Method Details
-
canInterrupt
boolean canInterrupt()
Signals if a task can be interrupted at the time this method is called.
- Returns:
- outcome of interruptable test
-
run
default void run()
- Specified by:
run
in interface Runnable
-