Class InterruptibleTask.Blocker
java.lang.Object
java.util.concurrent.locks.AbstractOwnableSynchronizer
com.google.common.util.concurrent.InterruptibleTask.Blocker
- All Implemented Interfaces:
Serializable
,Runnable
- Enclosing class:
InterruptibleTask<T>
static final class InterruptibleTask.Blocker
extends AbstractOwnableSynchronizer
implements Runnable
Using this as the blocker object allows introspection and debugging tools to see that the
currentRunner thread is blocked on the progress of the interruptor thread, which can help
identify deadlocks.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.locks.AbstractOwnableSynchronizer
getExclusiveOwnerThread, setExclusiveOwnerThread