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>
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:
-
Field Summary
Fields inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
nodeId, serviceId, uniqueNodeIdentifier
-
Constructor Summary
ConstructorsConstructorDescriptionThis 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
Methods inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
getNodeId, getNodeIfLoaded, getResult, getServiceIfLoaded, getUniqueNodeIdentifier, readExternal, writeExternal
-
Constructor Details
-
RemoveNodeTask
public RemoveNodeTask()This no-argument constructor is provided for serialization purposes. It should generally not be used otherwise. -
RemoveNodeTask
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()
-