akka.util
Class Timeout$

java.lang.Object
  extended by akka.util.Timeout$
All Implemented Interfaces:
java.io.Serializable

public class Timeout$
extends java.lang.Object
implements scala.Serializable

See Also:
Serialized Form

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

MODULE$

public static final Timeout$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

Timeout$

public Timeout$()
Method Detail

zero

public Timeout zero()
A timeout with zero duration, will cause most requests to always timeout.


apply

public Timeout apply(long timeout)
Construct a Timeout from the given number of milliseconds.


apply

public Timeout apply(long length,
                     java.util.concurrent.TimeUnit unit)
Construct a Timeout from the given time unit and factor.


durationToTimeout

public Timeout durationToTimeout(scala.concurrent.duration.FiniteDuration duration)

intToTimeout

public Timeout intToTimeout(int timeout)

longToTimeout

public Timeout longToTimeout(long timeout)