.util.concurrent">TimeUnit</a>&nbsp;unit)</pre>
<div class="block">Adds a recorded duration.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>duration</code> - the length of the duration</dd><dd><code>unit</code> - the scale unit of <code>duration</code></dd></dl>
</li>
</ul>
<a name="time(java.util.concurrent.Callable)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>time</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;time(<a href="http://download.oracle.com/javase/7/docs