Class GetArchiveWriteETATask
- java.lang.Object
-
- org.jivesoftware.openfire.archive.GetArchiveWriteETATask
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Duration>
public class GetArchiveWriteETATask extends Object implements ClusterTask<Duration>
A task that retrieves a time estimation on the time it takes for data to have been written to persistent storage.- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetArchiveWriteETATask()GetArchiveWriteETATask(Instant instant, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public Duration getResult()
- Specified by:
getResultin interfaceClusterTask<Duration>
-
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
-
-