public class DStreamCheckpointData<T> extends Object implements scala.Serializable, Logging
Constructor and Description |
---|
DStreamCheckpointData(DStream<T> dstream,
scala.reflect.ClassTag<T> evidence$1) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Time time)
Cleanup old checkpoint data.
|
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 void update(Time time)
public void cleanup(Time time)
time
has been
written to the checkpoint directory.public void restore()
public String toString()
toString
in class Object