@GwtCompatible(emulated=true) abstract class InterruptibleTask extends java.lang.Object implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
private static class |
InterruptibleTask.AtomicHelper |
private static class |
InterruptibleTask.SafeAtomicHelper |
private static class |
InterruptibleTask.SynchronizedAtomicHelper |
Modifier and Type | Field and Description |
---|---|
private static InterruptibleTask.AtomicHelper |
ATOMIC_HELPER |
private boolean |
doneInterrupting |
private static java.util.logging.Logger |
log |
private java.lang.Thread |
runner |
Constructor and Description |
---|
InterruptibleTask() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
interruptTask() |
void |
run() |
(package private) abstract void |
runInterruptibly() |
(package private) abstract boolean |
wasInterrupted() |
private volatile java.lang.Thread runner
private volatile boolean doneInterrupting
private static final InterruptibleTask.AtomicHelper ATOMIC_HELPER
private static final java.util.logging.Logger log