public class BatchInfo
extends java.lang.Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
BatchInfo(Time batchTime,
scala.collection.immutable.Map<java.lang.Object,StreamInputInfo> streamIdToInputInfo,
long submissionTime,
scala.Option<java.lang.Object> processingStartTime,
scala.Option<java.lang.Object> processingEndTime,
scala.collection.immutable.Map<java.lang.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<java.lang.Object,OutputOperationInfo> |
outputOperationInfos() |
scala.Option<java.lang.Object> |
processingDelay()
Time taken for the all jobs of this batch to finish processing from the time they started
processing.
|
scala.Option<java.lang.Object> |
processingEndTime() |
scala.Option<java.lang.Object> |
processingStartTime() |
scala.Option<java.lang.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<java.lang.Object,StreamInputInfo> |
streamIdToInputInfo() |
scala.collection.immutable.Map<java.lang.Object,java.lang.Object> |
streamIdToNumRecords() |
long |
submissionTime() |
scala.Option<java.lang.Object> |
totalDelay()
Time taken for all the jobs of this batch to finish processing from the time they
were submitted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BatchInfo(Time batchTime, scala.collection.immutable.Map<java.lang.Object,StreamInputInfo> streamIdToInputInfo, long submissionTime, scala.Option<java.lang.Object> processingStartTime, scala.Option<java.lang.Object> processingEndTime, scala.collection.immutable.Map<java.lang.Object,OutputOperationInfo> outputOperationInfos)
public Time batchTime()
public scala.collection.immutable.Map<java.lang.Object,StreamInputInfo> streamIdToInputInfo()
public long submissionTime()
public scala.Option<java.lang.Object> processingStartTime()
public scala.Option<java.lang.Object> processingEndTime()
public scala.collection.immutable.Map<java.lang.Object,OutputOperationInfo> outputOperationInfos()
public scala.collection.immutable.Map<java.lang.Object,java.lang.Object> streamIdToNumRecords()
public scala.Option<java.lang.Object> schedulingDelay()
processingStartTime
- submissionTime
.public scala.Option<java.lang.Object> processingDelay()
processingEndTime
- processingStartTime
.public scala.Option<java.lang.Object> totalDelay()
processingDelay
+ schedulingDelay
.public long numRecords()