|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
java.util.concurrent.ScheduledThreadPoolExecutor
org.mobicents.servlet.sip.core.timers.DefaultSipApplicationSessionTimerService
public class DefaultSipApplicationSessionTimerService
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor |
|---|
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy |
| Constructor Summary | |
|---|---|
DefaultSipApplicationSessionTimerService(int corePoolSize)
|
|
DefaultSipApplicationSessionTimerService(int corePoolSize,
java.util.concurrent.RejectedExecutionHandler handler)
|
|
DefaultSipApplicationSessionTimerService(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory)
|
|
DefaultSipApplicationSessionTimerService(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory,
java.util.concurrent.RejectedExecutionHandler handler)
|
|
| Method Summary | |
|---|---|
boolean |
cancel(SipApplicationSessionTimerTask expirationTimerTask)
|
SipApplicationSessionTimerTask |
createSipApplicationSessionTimerTask(MobicentsSipApplicationSession sipApplicationSession)
|
boolean |
isStarted()
|
SipApplicationSessionTimerTask |
schedule(SipApplicationSessionTimerTask expirationTimerTask,
long delay,
java.util.concurrent.TimeUnit unit)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.util.concurrent.ScheduledThreadPoolExecutor |
|---|
decorateTask, decorateTask, execute, getContinueExistingPeriodicTasksAfterShutdownPolicy, getExecuteExistingDelayedTasksAfterShutdownPolicy, getQueue, remove, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, setContinueExistingPeriodicTasksAfterShutdownPolicy, setExecuteExistingDelayedTasksAfterShutdownPolicy, shutdown, shutdownNow, submit, submit, submit |
| Methods inherited from class java.util.concurrent.ThreadPoolExecutor |
|---|
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, terminated |
| Methods inherited from class java.util.concurrent.AbstractExecutorService |
|---|
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.concurrent.ExecutorService |
|---|
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated |
| Constructor Detail |
|---|
public DefaultSipApplicationSessionTimerService(int corePoolSize)
corePoolSize -
public DefaultSipApplicationSessionTimerService(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory)
corePoolSize - threadFactory -
public DefaultSipApplicationSessionTimerService(int corePoolSize,
java.util.concurrent.RejectedExecutionHandler handler)
corePoolSize - handler -
public DefaultSipApplicationSessionTimerService(int corePoolSize,
java.util.concurrent.ThreadFactory threadFactory,
java.util.concurrent.RejectedExecutionHandler handler)
corePoolSize - threadFactory - handler - | Method Detail |
|---|
public SipApplicationSessionTimerTask createSipApplicationSessionTimerTask(MobicentsSipApplicationSession sipApplicationSession)
createSipApplicationSessionTimerTask in interface SipApplicationSessionTimerServicepublic boolean cancel(SipApplicationSessionTimerTask expirationTimerTask)
cancel in interface SipApplicationSessionTimerService
public SipApplicationSessionTimerTask schedule(SipApplicationSessionTimerTask expirationTimerTask,
long delay,
java.util.concurrent.TimeUnit unit)
schedule in interface SipApplicationSessionTimerServicepublic void start()
start in interface SipApplicationSessionTimerServicepublic void stop()
stop in interface SipApplicationSessionTimerServicepublic boolean isStarted()
isStarted in interface SipApplicationSessionTimerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||