public class RetrySimulation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RetrySimulation.SleepSequence |
Constructor and Description |
---|
RetrySimulation() |
Modifier and Type | Method and Description |
---|---|
void |
addSequence(List<Long> sleeps)
Add a sequence of sleeps to the simulation.
|
RetrySimulation.SleepSequence |
getLongestTotalSleepSequence() |
double |
getPercentile(double p) |
List<Double> |
getPercentiles() |
public List<Double> getPercentiles()
public double getPercentile(double p)
public RetrySimulation.SleepSequence getLongestTotalSleepSequence()
Copyright © 2014 SpringSource. All rights reserved.