object Timeout extends Serializable
A Timeout is a wrapper on top of Duration to be more specific about what the duration means.
- Source
- Timeout.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Timeout
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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.