public class BatchInfo
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
BatchInfo(Time batchTime,
scala.collection.immutable.Map<Object,StreamInputInfo> streamIdToInputInfo,
long submissionTime,
scala.Option<Object> processingStartTime,
scala.Option<Object> processingEndTime,
scala.collection.immutable.Map<Object,OutputOperationInfo> outputOperationInfos) |
Modifier and Type | Method and Description |
---|---|
Time |
batchTime() |
long |
numRecords()
The number of recorders received by the receivers in this batch.
|
scala.collection.immutable.Map<Object,OutputOperationInfo> |
outputOperationInfos() |
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,StreamInputInfo> |
streamIdToInputInfo() |
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BatchInfo(Time batchTime, scala.collection.immutable.Map<Object,StreamInputInfo> streamIdToInputInfo, long submissionTime, scala.Option<Object> processingStartTime, scala.Option<Object> processingEndTime, scala.collection.immutable.Map<Object,OutputOperationInfo> outputOperationInfos)
public Time batchTime()
public scala.collection.immutable.Map<Object,StreamInputInfo> streamIdToInputInfo()
public long submissionTime()
public scala.Option<Object> processingStartTime()
public scala.Option<Object> processingEndTime()
public scala.collection.immutable.Map<Object,OutputOperationInfo> outputOperationInfos()
public scala.collection.immutable.Map<Object,Object> streamIdToNumRecords()
public scala.Option<Object> schedulingDelay()
processingStartTime
- submissionTime
.public scala.Option<Object> processingDelay()
processingEndTime
- processingStartTime
.public scala.Option<Object> totalDelay()
processingDelay
+ schedulingDelay
.public long numRecords()