Class QueuedTasksManager
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.QueuedTasksManager
-
public class QueuedTasksManager extends Object
Queue tasks while this JVM is joining the cluster and the requested room was still not loaded.- Author:
- Gaston Dombiak
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTask(MUCRoomTask task)
Queues a task.static QueuedTasksManager
getInstance()
-
-
-
Method Detail
-
getInstance
public static QueuedTasksManager getInstance()
-
addTask
public void addTask(MUCRoomTask task)
Queues a task. The queued task will be executed once this JVM completed joining the cluster. Moreover, if joining the cluster failed then the queue will also be consumed.- Parameters:
task
- the task to queue.
-
-