public final class LogicalStatistic extends Object implements Serializable, Comparable<LogicalStatistic>
LogicalPort
or
a LogicalOperator
. Statistics are
keyed by the following items:
definition
, where definition
provides the definition of the statisticpath
, where path
provides the path of the port or operatornodeID
, where nodeID
provides the host and thread offset within the host.Modifier and Type | Class and Description |
---|---|
static class |
LogicalStatistic.Builder
A builder for statistics.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LogicalStatistic other) |
StatisticDefinition<?> |
definition()
Returns the definition associated with this statistic.
|
LogicalStatistic |
finalSnapshot()
Returns a snapshot view of these statistics with all statistics appropriate for a graph
that is in a terminated state.
|
VirtualNodeID |
nodeID()
Returns the node described by this statistics object.
|
VirtualNodeID |
originalNodeID()
Returns the original node described by this statistics object.
|
GraphPath |
path()
Returns the full path of the port or operator described by this statistics object.
|
LogicalStatistic |
snapshot()
Returns a snapshot view of these statistics.
|
RuntimeStatistic<?> |
statistic()
Returns the pair of
definition() and supplier() . |
StatisticSupplier |
supplier()
Returns the supplier associated with this statistic.
|
String |
toString() |
public GraphPath path()
public VirtualNodeID nodeID()
public VirtualNodeID originalNodeID()
nodeID()
. In the event of a failure, this represents
the node that failed, where this unit of work was originally scheduled.public LogicalStatistic snapshot()
public LogicalStatistic finalSnapshot()
public RuntimeStatistic<?> statistic()
definition()
and supplier()
.public StatisticDefinition<?> definition()
public StatisticSupplier supplier()
public int compareTo(LogicalStatistic other)
compareTo
in interface Comparable<LogicalStatistic>
Copyright © 2016 Actian Corporation. All rights reserved.