Interface DelayProvider


public interface DelayProvider
The DelayProvider to help thread sleep.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the duration for delay.
  • Method Details

    • getDelayDuration

      Duration getDelayDuration(Duration delay)
      Gets the duration for delay.
      Parameters:
      delay - the duration of proposed delay.
      Returns:
      the duration of delay.