jdk/src/share/classes/java/lang/management/ThreadInfo.java
/**
* Returns the total number of times that
* the thread associated with this <tt>ThreadInfo</tt>
* blocked to enter or reenter a monitor.
* I.e. the number of times a thread has been in the
* {@link java.lang.Thread.State#BLOCKED BLOCKED} state.
*
* @return the total number of times that the thread
* entered the <tt>BLOCKED</tt> state.
*/
public long getBlockedCount() {
{- -------------------------------------------
(1) blockedCount フィールドの値をリターンするだけ.
---------------------------------------- -}
return blockedCount;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.