- All Superinterfaces:
PortStatistics
- All Known Implementing Classes:
OutputSnapshot
Live run-time statistics for an input port.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the highest number of batches ever held in the dataflow queue.longGets the highest number of tokens ever held in the dataflow queue.Gets a snapshot of the current statistics.Methods inherited from interface com.pervasive.datarush.ports.physical.PortStatistics
getBatchCount, getDataDuration, getEODInstant, getFirstBatchInstant, getName, getState, getTokenCount, getType, getWaitCount, getWaitDuration
-
Method Details
-
getMaxTokenCount
long getMaxTokenCount()Gets the highest number of tokens ever held in the dataflow queue. This is only applicable to output ports.- Returns:
- the largest observed size of the queue, in tokens
-
getMaxBatchCount
long getMaxBatchCount()Gets the highest number of batches ever held in the dataflow queue. This is only applicable to output ports.- Returns:
- the largest observed size of the queue, in batches
-
getSnapshot
OutputSnapshot getSnapshot()Description copied from interface:PortStatisticsGets a snapshot of the current statistics.- Specified by:
getSnapshotin interfacePortStatistics- Returns:
- an immutable copy of the statistics
-