org.springframework.batch.retry.backoff
Interface Sleeper

All Known Implementing Classes:
ObjectWaitSleeper

public interface Sleeper

Strategy interface for backoff policies to delegate the pausing of execution.

Author:
Dave Syer

Method Summary
 void sleep(long backOffPeriod)
          Pause for the specified period using whatever means available.
 

Method Detail

sleep

void sleep(long backOffPeriod)
           throws InterruptedException
Pause for the specified period using whatever means available.

Parameters:
backOffPeriod -
Throws:
InterruptedException


Copyright © 2013. All Rights Reserved.