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