Package org.shakespeareframework
Interface Retryable
-
- All Known Subinterfaces:
RetryableQuestion<A>
,RetryableTask
public interface Retryable
-
-
Field Summary
Fields Modifier and Type Field Description static java.time.Duration
DEFAULT_TIMEOUT
The default timeout
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.time.Duration
getInterval()
default java.time.Duration
getTimeout()
-
-
-
Method Detail
-
getTimeout
default java.time.Duration getTimeout()
- Returns:
- the timeout for this (default:
DEFAULT_TIMEOUT
)
-
getInterval
default java.time.Duration getInterval()
- Returns:
- the interval to retry this (default
getTimeout()
/ 10)
-
-