|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectorg.apache.spark.streaming.scheduler.BatchInfo
public class BatchInfo
:: DeveloperApi :: Class having information on completed batches. param: batchTime Time of the batch param: streamIdToNumRecords A map of input stream id to record number param: submissionTime Clock time of when jobs of this batch was submitted to the streaming scheduler queue param: processingStartTime Clock time of when the first job of this batch started processing param: processingEndTime Clock time of when the last job of this batch finished processing
| Constructor Summary | |
|---|---|
BatchInfo(Time batchTime,
scala.collection.immutable.Map<Object,Object> streamIdToNumRecords,
long submissionTime,
scala.Option<Object> processingStartTime,
scala.Option<Object> processingEndTime)
|
|
| Method Summary | |
|---|---|
Time |
batchTime()
|
long |
numRecords()
The number of recorders received by the receivers in this batch. |
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.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. |
scala.collection.immutable.Map<Object,Object> |
streamIdToNumRecords()
|
long |
submissionTime()
|
scala.Option<Object> |
totalDelay()
Time taken for all the jobs of this batch to finish processing from the time they were submitted. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface scala.Product |
|---|
productArity, productElement, productIterator, productPrefix |
| Methods inherited from interface scala.Equals |
|---|
canEqual, equals |
| Constructor Detail |
|---|
public BatchInfo(Time batchTime,
scala.collection.immutable.Map<Object,Object> streamIdToNumRecords,
long submissionTime,
scala.Option<Object> processingStartTime,
scala.Option<Object> processingEndTime)
| Method Detail |
|---|
public Time batchTime()
public scala.collection.immutable.Map<Object,Object> streamIdToNumRecords()
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.
public long numRecords()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||