Class Seconds

Object
org.apache.spark.streaming.Seconds

public class Seconds extends Object
Helper object that creates instance of Duration representing a given number of seconds.
  • Constructor Details

    • Seconds

      public Seconds()
  • Method Details

    • apply

      public static Duration apply(long seconds)