|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.timers.FaultTolerantScheduler
public class FaultTolerantScheduler
| Constructor Summary | |
|---|---|
FaultTolerantScheduler(java.lang.String name,
int corePoolSize,
MobicentsCluster cluster,
byte priority,
javax.transaction.TransactionManager txManager,
TimerTaskFactory timerTaskFactory)
|
|
| Method Summary | |
|---|---|
TimerTask |
cancel(java.io.Serializable taskID)
Cancels a local running task with the specified ID. |
TimerTask |
getLocalRunningTask(java.io.Serializable taskId)
Retrieves a local running task by its id |
java.util.Set<TimerTask> |
getLocalRunningTasks()
Retrieves a set containing all local running tasks. |
java.lang.String |
getName()
Retrieves the scheduler name. |
byte |
getPriority()
Retrieves the priority of the scheduler as a client local listener of the mobicents cluster. |
TimerTaskData |
getTimerTaskData(java.io.Serializable taskID)
Retrieves the TimerTaskData associated with the specified taskID. |
TimerTaskFactory |
getTimerTaskFactory()
Retrieves the timer task factory associated with this scheduler. |
javax.transaction.TransactionManager |
getTransactionManager()
Retrieves the jta tx manager. |
void |
schedule(TimerTask task)
|
void |
schedule(TimerTask task,
boolean checkIfAlreadyPresent)
Schedules the specified task. |
void |
shutdownNow()
|
void |
stop()
|
java.lang.String |
toDetailedString()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FaultTolerantScheduler(java.lang.String name,
int corePoolSize,
MobicentsCluster cluster,
byte priority,
javax.transaction.TransactionManager txManager,
TimerTaskFactory timerTaskFactory)
name - corePoolSize - cluster - priority - txManager - timerTaskFactory - | Method Detail |
|---|
public TimerTaskData getTimerTaskData(java.io.Serializable taskID)
TimerTaskData associated with the specified taskID.
taskID -
public java.util.Set<TimerTask> getLocalRunningTasks()
public TimerTask getLocalRunningTask(java.io.Serializable taskId)
public java.lang.String getName()
public byte getPriority()
public javax.transaction.TransactionManager getTransactionManager()
public TimerTaskFactory getTimerTaskFactory()
public void schedule(TimerTask task)
public void schedule(TimerTask task,
boolean checkIfAlreadyPresent)
task - public TimerTask cancel(java.io.Serializable taskID)
taskID -
public void shutdownNow()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toDetailedString()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||