nterface in java.lang" class="external-link">IllegalStateException</a>,
<a href="EJBException.html" title="class in jakarta.ejb">EJBException</a></span></div>
<div class="block">Create a single-action timer that expires after a specified duration.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>duration</code> - the number of milliseconds that must elapse before the timer expires.</dd>
<dd><code>timerConfig</code> - timer configuration.</dd>
<dt>Returns:</dt>
<dd>the newly created Timer.</dd>
<dt>Th