org.mobicents.servlet.sip.core.timers
Interface MobicentsServletTimer

All Superinterfaces:
ServletTimer
All Known Implementing Classes:
ServletTimerImpl

public interface MobicentsServletTimer
extends ServletTimer

Author:
jean.deruelle@gmail.com

Method Summary
 void cancel(boolean mayInterruptIfRunning, boolean updateAppSessionReadyToInvalidateState)
          Cancel this timer, possibly by also interrupting the thread (from the thread pool) running the task.
 
Methods inherited from interface javax.servlet.sip.ServletTimer
cancel, getApplicationSession, getId, getInfo, getTimeRemaining, scheduledExecutionTime
 

Method Detail

cancel

void cancel(boolean mayInterruptIfRunning,
            boolean updateAppSessionReadyToInvalidateState)
Cancel this timer, possibly by also interrupting the thread (from the thread pool) running the task. Note that interupting the thread may have undesired consequences.

Parameters:
mayInterruptIfRunning -
updateAppSessionReadyToInvalidateState - boolean to update or not the readyToInvalidateState upon removing a servlet Timer, this is useful when we process a remoteInvalidation to make sure we don't load and update the sip session from the cache


Copyright © 2011. All Rights Reserved.