@ NullSafe public static boolean isBlocked ( Thread thread ) { return ( thread != null && Thread . State . BLOCKED . equals ( thread . getState ( ) ) ) ; }
Determines whether the specified Thread is in a blocked state . A Thread may be currently blocked waiting on a lock or performing some IO operation .