public class InputSnapshot extends PortSnapshot implements InputStatistics
Constructor and Description |
---|
InputSnapshot(InputStatistics stats)
Creates a snapshot of input statistics.
|
Modifier and Type | Method and 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.
|
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 InputSnapshot(InputStatistics stats)
stats
- the live statistics to capturepublic long getIndirectWaitCount()
getIndirectWaitCount
in interface InputStatistics
public long getIndirectWaitDuration()
getIndirectWaitDuration
in interface InputStatistics
public InputSnapshot getSnapshot()
PortStatistics
getSnapshot
in interface InputStatistics
getSnapshot
in interface PortStatistics
Copyright © 2020 Actian Corporation. All rights reserved.