org.springframework.retry.support
Class RetrySimulation.SleepSequence

java.lang.Object
  extended by org.springframework.retry.support.RetrySimulation.SleepSequence
Enclosing class:
RetrySimulation

public static class RetrySimulation.SleepSequence
extends Object


Constructor Summary
RetrySimulation.SleepSequence(List<Long> sleeps)
           
 
Method Summary
 long getLongestSleep()
          Returns the longest individual sleep within this sequence.
 List<Long> getSleeps()
           
 long getTotalSleep()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetrySimulation.SleepSequence

public RetrySimulation.SleepSequence(List<Long> sleeps)
Method Detail

getSleeps

public List<Long> getSleeps()

getLongestSleep

public long getLongestSleep()
Returns the longest individual sleep within this sequence.


getTotalSleep

public long getTotalSleep()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 SpringSource. All Rights Reserved.