Class Duration

Object
org.apache.spark.streaming.Duration
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class Duration extends Object implements scala.Product, Serializable
See Also:
  • Constructor Details

    • Duration

      public Duration(long millis)
  • Method Details

    • apply

      public abstract static R apply(T1 v1)
    • less

      public boolean less(Duration that)
    • lessEq

      public boolean lessEq(Duration that)
    • greater

      public boolean greater(Duration that)
    • greaterEq

      public boolean greaterEq(Duration that)
    • plus

      public Duration plus(Duration that)
    • minus

      public Duration minus(Duration that)
    • times

      public Duration times(int times)
    • div

      public double div(Duration that)
    • isMultipleOf

      public boolean isMultipleOf(Duration that)
    • min

      public Duration min(Duration that)
    • max

      public Duration max(Duration that)
    • isZero

      public boolean isZero()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toFormattedString

      public String toFormattedString()
    • milliseconds

      public long milliseconds()
    • prettyPrint

      public String prettyPrint()