org.jivesoftware.openfire.muc.cluster
Class UpdateHistoryStrategy
java.lang.Object
org.jivesoftware.openfire.muc.cluster.UpdateHistoryStrategy
- All Implemented Interfaces:
- Externalizable, Serializable, Runnable, ClusterTask
public class UpdateHistoryStrategy
- extends Object
- implements ClusterTask
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateHistoryStrategy
public UpdateHistoryStrategy()
UpdateHistoryStrategy
public UpdateHistoryStrategy(String serviceName,
HistoryStrategy historyStrategy)
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.