Class IpdSharedFileWriteLatencyMeter
java.lang.Object
com.atlassian.confluence.internal.diagnostics.ipd.filesystem.IpdSharedFileWriteLatencyMeter
Makes measurements of file write duration to shared file system without guaranteed persistence.
- Since:
- 8.7
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIpdSharedFileWriteLatencyMeter
(com.atlassian.dc.filestore.api.FileStore.Path file, int numberOfMeasurements) -
Method Summary
-
Field Details
-
SAMPLE_DATA
protected static final byte[] SAMPLE_DATA -
random
-
numberOfMeasurements
protected final int numberOfMeasurements -
clock
-
-
Constructor Details
-
IpdSharedFileWriteLatencyMeter
public IpdSharedFileWriteLatencyMeter(com.atlassian.dc.filestore.api.FileStore.Path file, int numberOfMeasurements)
-
-
Method Details
-
measureWriteLatency
- Throws:
IOException
-
makeWriteLatencyMeasurements
- Throws:
IOException
InterruptedException
-
getMedian
-