public final class DStreamGraph extends Object implements scala.Serializable, Logging
Constructor and Description |
---|
DStreamGraph() |
Modifier and Type | Method and Description |
---|---|
void |
addInputStream(InputDStream<?> inputStream) |
void |
addOutputStream(DStream<?> outputStream) |
Duration |
batchDuration() |
boolean |
checkpointInProgress() |
void |
clearCheckpointData(Time time) |
void |
clearMetadata(Time time) |
scala.collection.Seq<Job> |
generateJobs(Time time) |
InputDStream<?>[] |
getInputStreams() |
Duration |
getMaxInputStreamRememberDuration()
Get the maximum remember duration across all the input streams.
|
DStream<?>[] |
getOutputStreams() |
ReceiverInputDStream<?>[] |
getReceiverInputStreams() |
void |
remember(Duration duration) |
Duration |
rememberDuration() |
void |
restart(Time time) |
void |
restoreCheckpointData() |
void |
setBatchDuration(Duration duration) |
void |
setContext(StreamingContext ssc) |
void |
start(Time time) |
Time |
startTime() |
void |
stop() |
void |
updateCheckpointData(Time time) |
void |
validate() |
Time |
zeroTime() |
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 Duration rememberDuration()
public boolean checkpointInProgress()
public Time zeroTime()
public Time startTime()
public Duration batchDuration()
public void start(Time time)
public void restart(Time time)
public void stop()
public void setContext(StreamingContext ssc)
public void setBatchDuration(Duration duration)
public void remember(Duration duration)
public void addInputStream(InputDStream<?> inputStream)
public void addOutputStream(DStream<?> outputStream)
public InputDStream<?>[] getInputStreams()
public DStream<?>[] getOutputStreams()
public ReceiverInputDStream<?>[] getReceiverInputStreams()
public void clearMetadata(Time time)
public void updateCheckpointData(Time time)
public void clearCheckpointData(Time time)
public void restoreCheckpointData()
public void validate()
public Duration getMaxInputStreamRememberDuration()