-
- All Superinterfaces:
PortStatistics
- All Known Implementing Classes:
InputSnapshot
public interface InputStatistics extends PortStatistics
Live run-time statistics for an input port.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getIndirectWaitCount()
Gets the number of times the port entered a wait state because the writer was blocked by a different reader.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.InputSnapshot
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
-
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:PortStatistics
Gets a snapshot of the current statistics.- Specified by:
getSnapshot
in interfacePortStatistics
- Returns:
- an immutable copy of the statistics
-
-