Class NodeChangeTask
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.cluster.NodeChangeTask
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
public abstract class NodeChangeTask extends Object implements ClusterTask<Void>
Base class of clustering tasks for pubsub. It simply stores/retrieves the node.- Author:
- Robin Collier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeChangeTask()
NodeChangeTask(String nodeIdent)
NodeChangeTask(Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getNode()
String
getNodeId()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.util.cache.ClusterTask
getResult
-
-
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
getNode
public Node getNode()
-
getNodeId
public String getNodeId()
-
-