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, getWaitDuration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBatchCount, getDataDuration, getEODInstant, getFirstBatchInstant, getName, getState, getTokenCount, getType, getWaitCount, getWaitDuration
public OutputSnapshot(OutputStatistics stats)
stats
- the live statistics to capturepublic long getMaxBatchCount()
getMaxBatchCount
in interface OutputStatistics
public long getMaxTokenCount()
getMaxTokenCount
in interface OutputStatistics
public OutputSnapshot getSnapshot()
PortStatistics
getSnapshot
in interface OutputStatistics
getSnapshot
in interface PortStatistics
Copyright © 2024 Actian Corporation. All rights reserved.