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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
nodeId, serviceId, uniqueNodeIdentifier
-
-
Constructor Summary
Constructors Constructor Description RemoveNodeTask()
This no-argument constructor is provided for serialization purposes.RemoveNodeTask(Node node)
Constructs a new task that removes a specific node from a pubsub node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
getNodeId, getNodeIfLoaded, getResult, getServiceIfLoaded, getUniqueNodeIdentifier, readExternal, writeExternal
-
-
-
-
Constructor Detail
-
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.
-
-