ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java
public void suspendTimers() {
        // get all active timers (persistent/non-persistent inclusive)
        Collection<Timer> timers = this.getTimers();
        for (Timer timer : timers) {
            if (!(timer instanceof TimerImpl)) {
                continue;
            }
            // suspend the timer
            ((TimerImpl) timer).suspend();
        }
    }
public void suspendTimers() {
        // get all active timers (persistent/non-persistent inclusive)
        Collection<Timer> timers = this.getTimers();
        for (Timer timer : timers) {
            if (!(timer instanceof TimerImpl)) {
                continue;
            }
            // suspend the timer
            ((TimerImpl) timer).suspend();
        }
    }
public void suspendTimers ( ) { // get all active timers (persistent/non-persistent inclusive) Collection < Timer > timers = this . getTimers ( ) ; for ( Timer timer : timers ) { if ( ! ( timer instanceof TimerImpl ) ) { continue ; } // suspend the timer ( ( TimerImpl ) timer ) . suspend ( ) ; } }
Suspends any currently scheduled tasks for {@link javax.ejb.Timer}s
<p>
Note that, suspend does <b>not</b> cancel the {@link javax.ejb.Timer}. Instead,
it just cancels the <b>next scheduled timeout</b>. So once the {@link javax.ejb.Timer}
is restored (whenever that happens), the {@link javax.ejb.Timer} will continue to
timeout at appropriate times.
</p>
Suspends any currently scheduled tasks for {