-
- All Superinterfaces:
PortStatistics
- All Known Implementing Classes:
OutputSnapshot
public interface OutputStatistics extends PortStatistics
Live run-time statistics for an input port.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.pervasive.datarush.ports.physical.PortStatistics
getBatchCount, getDataDuration, getEODInstant, getFirstBatchInstant, getName, getState, getTokenCount, getType, getWaitCount, getWaitDuration
-
-
-
-
Method Detail
-
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:PortStatistics
Gets a snapshot of the current statistics.- Specified by:
getSnapshot
in interfacePortStatistics
- Returns:
- an immutable copy of the statistics
-
-