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 |
---|---|
abstract static R |
apply(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6) |
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() |
long |
submissionTime() |
static String |
toString() |
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 abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6)
public static String toString()
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.Option<Object> schedulingDelay()
processingStartTime
- submissionTime
.public scala.Option<Object> processingDelay()
processingEndTime
- processingStartTime
.public scala.Option<Object> totalDelay()
processingDelay
+ schedulingDelay
.public long numRecords()