Class RemoveNodeTask

java.lang.Object
org.jivesoftware.openfire.pubsub.cluster.NodeTask
org.jivesoftware.openfire.pubsub.cluster.RemoveNodeTask
All Implemented Interfaces:
Externalizable, Serializable, Runnable, ClusterTask<Void>

public class RemoveNodeTask extends NodeTask
Removes a newly deleted node from memory across the cluster. Note that this task aims to update in-memory state only: it will not apply affiliation changes to persistent data storage (it is assumed that the cluster node where the task originated takes responsibility for that). As a result, this task might not apply changes if the node that is the subject of this task is currently not loaded in-memory of the cluster node on which this task operates.
Author:
Tom Evans
See Also:
  • Constructor Details

    • RemoveNodeTask

      public RemoveNodeTask()
      This no-argument constructor is provided for serialization purposes. It should generally not be used otherwise.
    • RemoveNodeTask

      public RemoveNodeTask(@Nonnull Node node)
      Constructs a new task that removes a specific node from a pubsub node.
      Parameters:
      node - The pubsub node that this task relates to.
  • Method Details

    • run

      public void run()