public void setNextTimeout(Date next) {
        if(next == null) {
            setTimerState(TimerState.EXPIRED, null);
        }
        this.nextExpiration = next;
    }
public void setNextTimeout(Date next) {
        if(next == null) {
            setTimerState(TimerState.EXPIRED, null);
        }
        this.nextExpiration = next;
    }
public void setNextTimeout ( Date next ) { if ( next == null ) { setTimerState ( TimerState . EXPIRED , null ) ; } this . nextExpiration = next ; }
Sets the next timeout of this timer

@param next The next scheduled timeout of this timer
Sets the next timeout of this timer