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 Duration
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public Duration getResult()
- Specified by:
getResult
in interfaceClusterTask<Duration>
-
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
-
-