akka.util

Duration

object Duration extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Duration
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait Infinite extends AnyRef

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. val Inf : Duration

    Infinite duration: greater than any other and not equal to any other, including itself.

  7. val MinusInf : Duration

    Infinite negative duration: lesser than any other and not equal to any other, including itself.

  8. val Zero : Duration

  9. def apply (s: String): Duration

    Construct a Duration by parsing a String.

    Construct a Duration by parsing a String. In case of a format error, a RuntimeException is thrown. See unapply(String) for more information.

  10. def apply (length: Long, unit: String): Duration

  11. def apply (length: Double, unit: TimeUnit): Duration

  12. def apply (length: Long, unit: TimeUnit): Duration

  13. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  14. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def create (length: Long, unit: String): Duration

  16. def create (length: Double, unit: TimeUnit): Duration

  17. def create (length: Long, unit: TimeUnit): Duration

  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def fromNanos (nanos: Double): Duration

  22. def fromNanos (nanos: Long): Duration

  23. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  24. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  25. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  26. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def parse (s: String): Duration

  30. def readResolve (): AnyRef

    Attributes
    protected
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. val timeFactor : Double

  33. def timeUnit (unit: String): TimeUnit

    Parse TimeUnit from string representation.

  34. def toString (): String

    Definition Classes
    AnyRef → Any
  35. def unapply (s: String): Option[Duration]

    Parse String, return None if no match.

    Parse String, return None if no match. Format is "<length><unit>", where whitespace is allowed before, between and after the parts. Infinities are designated by "Inf" and "-Inf" or "MinusInf".

  36. def unapply (d: Duration): Option[(Long, TimeUnit)]

    Deconstruct a Duration into length and unit if it is finite.

  37. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any