- All Superinterfaces:
PortStatistics
- All Known Implementing Classes:
InputSnapshot
Live run-time statistics for an input port.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the number of times the port entered a wait state because the writer was blocked by a different reader.longGets the total amount of time the port has spent in a wait state because the writer was blocked by a different reader.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
-
getIndirectWaitCount
long getIndirectWaitCount()Gets the number of times the port entered a wait state because the writer was blocked by a different reader. This is only applicable to input ports.- Returns:
- the accumulated number of waits due to another reader
-
getIndirectWaitDuration
long getIndirectWaitDuration()Gets the total amount of time the port has spent in a wait state because the writer was blocked by a different reader. This is only applicable to input ports.- Returns:
- milliseconds spent in an indirect wait state
-
getSnapshot
InputSnapshot getSnapshot()Description copied from interface:PortStatisticsGets a snapshot of the current statistics.- Specified by:
getSnapshotin interfacePortStatistics- Returns:
- an immutable copy of the statistics
-