public class BatchInfo
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
BatchInfo(Time batchTime,
scala.collection.immutable.Map<Object,org.apache.spark.streaming.scheduler.ReceivedBlockInfo[]> receivedBlockInfo,
long submissionTime,
scala.Option<Object> processingStartTime,
scala.Option<Object> processingEndTime) |
Modifier and Type | Method and Description |
---|---|
Time |
batchTime() |
scala.Option<Object> |
processingDelay()
Time taken for the all jobs of this batch to finish processing from the time they started
processing.
|
scala.Option<Object> |
processingEndTime() |
scala.Option<Object> |
processingStartTime() |
scala.collection.immutable.Map<Object,org.apache.spark.streaming.scheduler.ReceivedBlockInfo[]> |
receivedBlockInfo() |
scala.Option<Object> |
schedulingDelay()
Time taken for the first job of this batch to start processing from the time this batch
was submitted to the streaming scheduler.
|
long |
submissionTime() |
scala.Option<Object> |
totalDelay()
Time taken for all the jobs of this batch to finish processing from the time they
were submitted.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BatchInfo(Time batchTime, scala.collection.immutable.Map<Object,org.apache.spark.streaming.scheduler.ReceivedBlockInfo[]> receivedBlockInfo, long submissionTime, scala.Option<Object> processingStartTime, scala.Option<Object> processingEndTime)
public Time batchTime()
public scala.collection.immutable.Map<Object,org.apache.spark.streaming.scheduler.ReceivedBlockInfo[]> receivedBlockInfo()
public long submissionTime()
public scala.Option<Object> processingStartTime()
public scala.Option<Object> processingEndTime()
public scala.Option<Object> schedulingDelay()
processingStartTime
- submissionTime
.public scala.Option<Object> processingDelay()
processingEndTime
- processingStartTime
.public scala.Option<Object> totalDelay()
processingDelay
+ schedulingDelay
.