Package org.jivesoftware.util
Class PropertyClusterEventTask
- java.lang.Object
-
- org.jivesoftware.util.PropertyClusterEventTask
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class PropertyClusterEventTask extends Object implements ClusterTask<Void>
This task updates or deletes a property in a cluster node's property map.PropertyEventListenerof each cluster node will be alerted of the event.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyClusterEventTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyClusterEventTaskcreateDeleteTask(String key)static PropertyClusterEventTaskcreatePutTask(String key, String value, boolean isEncrypted)VoidgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
createPutTask
public static PropertyClusterEventTask createPutTask(String key, String value, boolean isEncrypted)
-
createDeleteTask
public static PropertyClusterEventTask createDeleteTask(String key)
-
getResult
public Void getResult()
- Specified by:
getResultin interfaceClusterTask<Void>
-
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
-
-