Class AbstractWriteLatencyIpdJob
java.lang.Object
com.atlassian.bamboo.ipd.filesystem.AbstractWriteLatencyIpdJob
- All Implemented Interfaces:
com.atlassian.diagnostics.ipd.api.jobs.IpdJob
- Direct Known Subclasses:
LocalWriteLatencyIpdJob,SharedWriteLatencyIpdJob
public abstract class AbstractWriteLatencyIpdJob
extends Object
implements com.atlassian.diagnostics.ipd.api.jobs.IpdJob
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.atlassian.security.random.SecureRandomService -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractWriteLatencyIpdJob(AbstractFileWriteService fileWriteService, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptionprotected static longmakeWriteLatencyMeasurements(int numberOfMeasurements) protected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.diagnostics.ipd.api.jobs.IpdJob
runJob
-
Field Details
-
random
protected static final com.atlassian.security.random.SecureRandomService random
-
-
Constructor Details
-
AbstractWriteLatencyIpdJob
-
-
Method Details
-
makeWriteLatencyMeasurements
protected List<Long> makeWriteLatencyMeasurements(int numberOfMeasurements) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
waitBetweenFileOperations
- Throws:
InterruptedException
-
getMedian
-