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, getWaitDurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBatchCount, getDataDuration, getEODInstant, getFirstBatchInstant, getName, getState, getTokenCount, getType, getWaitCount, getWaitDurationpublic InputSnapshot(InputStatistics stats)
stats - the live statistics to capturepublic long getIndirectWaitCount()
getIndirectWaitCount in interface InputStatisticspublic long getIndirectWaitDuration()
getIndirectWaitDuration in interface InputStatisticspublic InputSnapshot getSnapshot()
PortStatisticsgetSnapshot in interface InputStatisticsgetSnapshot in interface PortStatisticsCopyright © 2021 Actian Corporation. All rights reserved.