public class FileInputDStream.FileInputDStreamCheckpointData extends DStreamCheckpointData<scala.Tuple2<K,V>>
Constructor and Description |
---|
FileInputDStream.FileInputDStreamCheckpointData() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Time time)
Cleanup old checkpoint data.
|
scala.collection.mutable.HashMap<Time,String[]> |
hadoopFiles() |
void |
restore()
Restore the checkpoint data.
|
String |
toString() |
void |
update(Time time)
Updates the checkpoint data of the DStream.
|
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public FileInputDStream.FileInputDStreamCheckpointData()
public scala.collection.mutable.HashMap<Time,String[]> hadoopFiles()
public void update(Time time)
DStreamCheckpointData
update
in class DStreamCheckpointData<scala.Tuple2<K,V>>
public void cleanup(Time time)
DStreamCheckpointData
time
has been
written to the checkpoint directory.cleanup
in class DStreamCheckpointData<scala.Tuple2<K,V>>
public void restore()
DStreamCheckpointData
restore
in class DStreamCheckpointData<scala.Tuple2<K,V>>
public String toString()
toString
in class DStreamCheckpointData<scala.Tuple2<K,V>>