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 NodegetNode()StringgetNodeId()voidreadExternal(ObjectInput in)voidwriteExternal(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:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getNode
public Node getNode()
-
getNodeId
public String getNodeId()
-
-