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.PropertyEventListener
of 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 PropertyClusterEventTask
createDeleteTask(String key)
static PropertyClusterEventTask
createPutTask(String key, String value, boolean isEncrypted)
Void
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(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:
getResult
in interfaceClusterTask<Void>
-
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
-
-