Class RefreshNodeTask
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.cluster.NodeTask
-
- org.jivesoftware.openfire.pubsub.cluster.RefreshNodeTask
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
public class RefreshNodeTask extends NodeTask
Forces the node to be refreshed from the database. This will load a node from the database and then add it to the service. If the node already existed it will be replaced, thereby refreshing it from persistence.- Author:
- Robin Collier
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
nodeId, serviceId, uniqueNodeIdentifier
-
-
Constructor Summary
Constructors Constructor Description RefreshNodeTask()
RefreshNodeTask(Node 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
getNode, getNodeId, getResult, getService, getUniqueNodeIdentifier, readExternal, writeExternal
-
-
-
-
Constructor Detail
-
RefreshNodeTask
public RefreshNodeTask()
-
RefreshNodeTask
public RefreshNodeTask(Node node)
-
-