object Timeout extends Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Timeout
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply(length: Long, unit: TimeUnit): Timeout
Construct a Timeout from the given time unit and factor.
- def create(duration: Duration): Timeout
Create a Timeout from java.time.Duration.
- implicit def durationToTimeout(duration: FiniteDuration): Timeout
- val zero: Timeout
A timeout with zero duration, will cause most requests to always timeout.
A Timeout is a wrapper on top of Duration to be more specific about what the duration means.