Class Durations

Object
org.apache.spark.streaming.Durations

public class Durations extends Object
  • Constructor Details

    • Durations

      public Durations()
  • Method Details

    • milliseconds

      public static Duration milliseconds(long milliseconds)
      Parameters:
      milliseconds - (undocumented)
      Returns:
      Duration representing given number of milliseconds.
    • seconds

      public static Duration seconds(long seconds)
      Parameters:
      seconds - (undocumented)
      Returns:
      Duration representing given number of seconds.
    • minutes

      public static Duration minutes(long minutes)
      Parameters:
      minutes - (undocumented)
      Returns:
      Duration representing given number of minutes.