public class OutputSnapshot extends PortSnapshot implements OutputStatistics
| Constructor and Description |
|---|
OutputSnapshot(OutputStatistics stats)
Creates a snapshot of output statistics.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxBatchCount()
Gets the highest number of batches ever held in the
dataflow queue.
|
long |
getMaxTokenCount()
Gets the highest number of tokens ever held in the
dataflow queue.
|
OutputSnapshot |
getSnapshot()
Gets a snapshot of the current statistics.
|
asSnapshots, getBatchCount, getDataDuration, getEODInstant, getFirstBatchInstant, getName, getState, getTokenCount, getType, getWaitCount, getWaitDurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBatchCount, getDataDuration, getEODInstant, getFirstBatchInstant, getName, getState, getTokenCount, getType, getWaitCount, getWaitDurationpublic OutputSnapshot(OutputStatistics stats)
stats - the live statistics to capturepublic long getMaxBatchCount()
getMaxBatchCount in interface OutputStatisticspublic long getMaxTokenCount()
getMaxTokenCount in interface OutputStatisticspublic OutputSnapshot getSnapshot()
PortStatisticsgetSnapshot in interface OutputStatisticsgetSnapshot in interface PortStatisticsCopyright © 2024 Actian Corporation. All rights reserved.