com.ibm.streams.operator.metrics

Interface PEMetrics

    • Method Detail

      • getInputPortMetric

        Metric getInputPortMetric(int port,
                                PEMetrics.InputPortMetric name)
        Get a read-only Metric for a specific processing element input port.
        Parameters:
        port - Port for the metric.
        name - Enumeration representing the name of the metric.
        Returns:
        A read-only Metric.
        Throws:
        java.lang.NullPointerException - name is null.
        java.lang.IllegalStateException - Operator has been shutdown and the metric has not been accessed previously.
      • getOutputPortMetric

        Metric getOutputPortMetric(int port,
                                 PEMetrics.OutputPortMetric name)
        Get a read-only Metric for a specific processing element output port.
        Parameters:
        port - Port for the metric.
        name - Enumeration representing the name of the metric.
        Returns:
        A read-only Metric.
        Throws:
        java.lang.NullPointerException - name is null.
        java.lang.IllegalStateException - Operator has been shutdown and the metric has not been accessed previously.