public abstract class PortSnapshot extends Object implements PortStatistics, Serializable
| Modifier and Type | Method and Description |
|---|---|
static List<PortSnapshot> |
asSnapshots(Collection<? extends PortStatistics> ports)
Converts a list of statistics into snapshots.
|
long |
getBatchCount()
Gets the accumulated count of token batches processed by the port.
|
long |
getDataDuration()
Gets the amount of time data has been flowing through the port,
in milliseconds.
|
long |
getEODInstant()
Gets the time at which EOD was written/read on the port.
|
long |
getFirstBatchInstant()
Gets the time at which the first batch was written/read on the port.
|
String |
getName()
Gets the user-provided label associated with port.
|
PortStatus |
getState()
Gets the current state of the port.
|
long |
getTokenCount()
Gets the accumulated count of tokens processed by the port.
|
TokenType |
getType()
Gets the type of tokens handled by the port.
|
long |
getWaitCount()
Get the number of times the port entered a wait state.
|
long |
getWaitDuration()
Gets the total amount of time the port has spent in a wait
state blocked by another process.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSnapshotpublic String getName()
getName in interface PortStatisticspublic TokenType getType()
getType in interface PortStatisticspublic PortStatus getState()
getState in interface PortStatisticspublic long getBatchCount()
getBatchCount in interface PortStatisticspublic long getTokenCount()
getTokenCount in interface PortStatisticspublic long getWaitCount()
getWaitCount in interface PortStatisticspublic long getWaitDuration()
getWaitDuration in interface PortStatisticspublic long getFirstBatchInstant()
PortStatisticsgetFirstBatchInstant in interface PortStatisticsLONG.MIN_VALUE.public long getEODInstant()
PortStatisticsgetEODInstant in interface PortStatisticsLONG.MIN_VALUE.public long getDataDuration()
PortStatisticsgetDataDuration in interface PortStatistics0.public static List<PortSnapshot> asSnapshots(Collection<? extends PortStatistics> ports)
ports - live port statistics to captureCopyright © 2020 Actian Corporation. All rights reserved.