public class Checkpoint extends Object implements Logging, java.io.Serializable
Constructor and Description |
---|
Checkpoint(StreamingContext ssc,
Time checkpointTime) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path |
checkpointBackupFile(String checkpointDir,
Time checkpointTime)
Get the checkpoint backup file for the given checkpoint time
|
String |
checkpointDir() |
Duration |
checkpointDuration() |
static org.apache.hadoop.fs.Path |
checkpointFile(String checkpointDir,
Time checkpointTime)
Get the checkpoint file for the given checkpoint time
|
Time |
checkpointTime() |
int |
delaySeconds() |
String |
framework() |
static scala.collection.Seq<org.apache.hadoop.fs.Path> |
getCheckpointFiles(String checkpointDir,
org.apache.hadoop.fs.FileSystem fs)
Get checkpoint files present in the give directory, ordered by oldest-first
|
DStreamGraph |
graph() |
scala.collection.Seq<String> |
jars() |
String |
master() |
Time[] |
pendingTimes() |
static String |
PREFIX() |
static scala.util.matching.Regex |
REGEX() |
SparkConf |
sparkConf() |
scala.Tuple2<String,String>[] |
sparkConfPairs() |
void |
validate() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public Checkpoint(StreamingContext ssc, Time checkpointTime)
public static String PREFIX()
public static scala.util.matching.Regex REGEX()
public static org.apache.hadoop.fs.Path checkpointFile(String checkpointDir, Time checkpointTime)
public static org.apache.hadoop.fs.Path checkpointBackupFile(String checkpointDir, Time checkpointTime)
public static scala.collection.Seq<org.apache.hadoop.fs.Path> getCheckpointFiles(String checkpointDir, org.apache.hadoop.fs.FileSystem fs)
public Time checkpointTime()
public String master()
public String framework()
public scala.collection.Seq<String> jars()
public DStreamGraph graph()
public String checkpointDir()
public Duration checkpointDuration()
public Time[] pendingTimes()
public int delaySeconds()
public scala.Tuple2<String,String>[] sparkConfPairs()
public SparkConf sparkConf()
public void validate()