org.jivesoftware.util
Class PropertyClusterEventTask
java.lang.Object
org.jivesoftware.util.PropertyClusterEventTask
- All Implemented Interfaces:
- Externalizable, Serializable, Runnable, ClusterTask
public class PropertyClusterEventTask
- extends Object
- implements ClusterTask
This task updates or deletes a property in a cluster node's property map.
PropertyEventListener
of each cluster node will be alerted of the event.
- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyClusterEventTask
public PropertyClusterEventTask()
createPutTask
public static PropertyClusterEventTask createPutTask(String key,
String value)
createDeteleTask
public static PropertyClusterEventTask createDeteleTask(String key)
getResult
public Object getResult()
- Specified by:
getResult
in interface ClusterTask
run
public void run()
- Specified by:
run
in interface Runnable
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 2003-2008 Jive Software.