Exemple #1
0
 /// <summary>
 /// Enable periodic checkpointing of RDDs of this DStream
 /// </summary>
 /// <param name="intervalMs">time in milliseconds, after each period of that, generated RDD will be checkpointed</param>
 /// <returns></returns>
 public DStream <T> Checkpoint(long intervalMs)
 {
     isCheckpointed = true;
     DStreamProxy.Checkpoint(intervalMs);
     return(this);
 }
Exemple #2
0
 /// <summary>
 /// Enable periodic checkpointing of RDDs of this DStream
 /// </summary>
 /// <param name="intervalSeconds">time in seconds, after each period of that, generated RDD will be checkpointed</param>
 /// <returns></returns>
 public DStream <T> Checkpoint(int intervalSeconds)
 {
     isCheckpointed = true;
     DStreamProxy.Checkpoint(intervalSeconds);
     return(this);
 }