|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.retry.support.RetrySimulation
public class RetrySimulation
The results of a simulation.
Nested Class Summary | |
---|---|
static class |
RetrySimulation.SleepSequence
|
Constructor Summary | |
---|---|
RetrySimulation()
|
Method Summary | |
---|---|
void |
addSequence(java.util.List<java.lang.Long> sleeps)
Add a sequence of sleeps to the simulation. |
RetrySimulation.SleepSequence |
getLongestTotalSleepSequence()
|
double |
getPercentile(double p)
|
java.util.List<java.lang.Double> |
getPercentiles()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RetrySimulation()
Method Detail |
---|
public void addSequence(java.util.List<java.lang.Long> sleeps)
public java.util.List<java.lang.Double> getPercentiles()
public double getPercentile(double p)
public RetrySimulation.SleepSequence getLongestTotalSleepSequence()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |