ace in java.lang" class="externalLink"><code>interrupt</code></a> flag on the thread before returning <code>false</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeout</code> - the maximum time to wait.</dd>
<dd><code>unit</code> - the time unit of the timeout argument.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if this executor terminated and <code>false</code> if the timeout elapsed before termination or the
 termination was interrupte