DelayProvider Interface

public interface DelayProvider

The DelayProvider to help thread sleep.

Method Summary

Modifier and Type Method and Description
abstract Duration getDelayDuration(Duration delay)

Gets the duration for delay.

Method Details

getDelayDuration

public abstract Duration getDelayDuration(Duration delay)

Gets the duration for delay.

Parameters:

delay - the duration of proposed delay.

Returns:

the duration of delay.

Applies to