Class ObjectWaitSleeper

java.lang.Object
org.springframework.retry.backoff.ObjectWaitSleeper
All Implemented Interfaces:
Serializable, Sleeper

@Deprecated public class ObjectWaitSleeper extends Object implements Sleeper
Deprecated.
in favor of ThreadWaitSleeper
Simple Sleeper implementation that just waits on a local Object.
Author:
Dave Syer
See Also:
  • Constructor Details

    • ObjectWaitSleeper

      public ObjectWaitSleeper()
      Deprecated.
  • Method Details

    • sleep

      public void sleep(long backOffPeriod) throws InterruptedException
      Deprecated.
      Description copied from interface: Sleeper
      Pause for the specified period using whatever means available.
      Specified by:
      sleep in interface Sleeper
      Parameters:
      backOffPeriod - the backoff period
      Throws:
      InterruptedException - the exception when interrupted