|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.util.Timeout$
public class Timeout$
A Timeout is a wrapper on top of Duration to be more specific about what the duration means.
| Field Summary | |
|---|---|
static Timeout$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
| Constructor Summary | |
|---|---|
Timeout$()
|
|
| Method Summary | |
|---|---|
Timeout |
apply(long timeout)
Construct a Timeout from the given number of milliseconds. |
Timeout |
apply(long length,
java.util.concurrent.TimeUnit unit)
Construct a Timeout from the given time unit and factor. |
Timeout |
durationToTimeout(scala.concurrent.duration.FiniteDuration duration)
|
Timeout |
intToTimeout(int timeout)
|
Timeout |
longToTimeout(long timeout)
|
Timeout |
zero()
A timeout with zero duration, will cause most requests to always timeout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Timeout$ MODULE$
| Constructor Detail |
|---|
public Timeout$()
| Method Detail |
|---|
public Timeout zero()
public Timeout apply(long timeout)
public Timeout apply(long length,
java.util.concurrent.TimeUnit unit)
public Timeout durationToTimeout(scala.concurrent.duration.FiniteDuration duration)
public Timeout intToTimeout(int timeout)
public Timeout longToTimeout(long timeout)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||