Skip navigation links

Oracle Communications Service Broker
SAL API Reference Reference
Release 6.0

E26227-01


com.convergin.common.sal.ext.api
Interface TimerService


public interface TimerService

TimerSerice interface to create timers


Method Summary
 ApplicationTimer createTimer(SalApplicationSession applicationSession, long delay, boolean isPersistent, java.io.Serializable info)
          Create a timer
 ApplicationTimer createTimer(SalApplicationSession applicationSession, long delay, long period, boolean fixedDelay, boolean isPersistent, java.io.Serializable info)
          Create a timer

 

Method Detail

createTimer

ApplicationTimer createTimer(SalApplicationSession applicationSession,
                             long delay,
                             boolean isPersistent,
                             java.io.Serializable info)
Create a timer
Parameters:
applicationSession - the application session the new ApplicationTimer will be associated with
delay - delay in milliseconds before the ApplicationTimer is to expired for the first time
isPersistent - if true the ApplicationTimer is persistent
info - application information to be delivered along with the timer expiration.
Returns:
ApplicationTimer object that is currently scheduled

createTimer

ApplicationTimer createTimer(SalApplicationSession applicationSession,
                             long delay,
                             long period,
                             boolean fixedDelay,
                             boolean isPersistent,
                             java.io.Serializable info)
Create a timer
Parameters:
applicationSession - the application session the new ApplicationTimer will be associated with
delay - delay in milliseconds before the ApplicationTimer is to expired for the first time
period - time in milliseconds between successive timer expirations
fixedDelay - specifies whether a repeating timer is fixed-delay or fixed-rate. The repeating timer expires at approximately regular intervals but with fixed-delay execution rescheduling of the repeating timer ignores any “lateness” in previous expirations whereas fixed-rate timers are rescheduled based on absolute time.
isPersistent - if true the ApplicationTimer is persistent
info - application information to be delivered along with the timer expiration.
Returns:
ApplicationTimer object that is currently scheduled

Skip navigation links

Oracle Communications Service Broker
SAL API Reference Reference
Release 6.0

E26227-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.