Class UpdateHistoryStrategy
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.UpdateHistoryStrategy
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
public class UpdateHistoryStrategy extends Object implements ClusterTask<Void>
Cluster task that will update the history strategy used by a MultiUserChatService service. It is currently not possible to edit the history strategy of a given room but only of the service. Therefore, this task will only update the service's strategy.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateHistoryStrategy()
UpdateHistoryStrategy(String serviceName, HistoryStrategy historyStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
UpdateHistoryStrategy
public UpdateHistoryStrategy()
-
UpdateHistoryStrategy
public UpdateHistoryStrategy(String serviceName, HistoryStrategy historyStrategy)
-
-
Method Detail
-
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
-
-