Class Milliseconds

Object
org.apache.spark.streaming.Milliseconds

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

    • Milliseconds

      public Milliseconds()
  • Method Details

    • apply

      public static Duration apply(long milliseconds)