org.apache.spark.streaming
Class Milliseconds

Object
  extended by org.apache.spark.streaming.Milliseconds

public class Milliseconds
extends Object

Helper object that creates instance of Duration representing a given number of milliseconds.


Constructor Summary
Milliseconds()
           
 
Method Summary
static Duration apply(long milliseconds)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Milliseconds

public Milliseconds()
Method Detail

apply

public static Duration apply(long milliseconds)