- Direct Known Subclasses:
public abstract class MUCRoomTask<V> extends Object implements ClusterTask<V>Task related to a room to be executed in a cluster node. This is a base class to specific room tasks. The base class just keeps track of the room related to the task.
- Gaston Dombiak
- See Also:
- Serialized Form
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
execute(Runnable runnable)Executes the requested task considering that this JVM may still be joining the cluster.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected MUCRoomTask(LocalMUCRoom room)
public LocalMUCRoom getRoom()
protected void execute(Runnable runnable)Executes the requested task considering that this JVM may still be joining the cluster. This means that events regarding rooms that were not loaded yet will be stored for later processing. Once the JVM is done joining the cluster queued tasks will be processed.
runnable- the task to execute.
public boolean isOriginator()
public void setOriginator(boolean originator)
public void writeExternal(ObjectOutput out) throws IOException