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 java.lang.Object


Constructor Summary
RetrySimulation.SleepSequence(java.util.List<java.lang.Long> sleeps)
           
 
Method Summary
 long getLongestSleep()
          Returns the longest individual sleep within this sequence.
 java.util.List<java.lang.Long> getSleeps()
           
 long getTotalSleep()
           
 java.lang.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(java.util.List<java.lang.Long> sleeps)
Method Detail

getSleeps

public java.util.List<java.lang.Long> getSleeps()

getLongestSleep

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


getTotalSleep

public long getTotalSleep()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 SpringSource. All Rights Reserved.