org.apache.spark.streaming
Class Seconds

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

public class Seconds
extends Object

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


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

Constructor Detail

Seconds

public Seconds()
Method Detail

apply

public static Duration apply(long seconds)