com.ibm.streamsx.rest

Class PEInputPort



  • public class PEInputPort
    extends Element
    An Input Port of the IBM Streams Processing Element
    • Constructor Detail

      • PEInputPort

        public PEInputPort()
    • Method Detail

      • getIndexWithinPE

        public long getIndexWithinPE()
        Gets the index of this input port within the processing element
        Returns:
        the index number as a long
      • getMetrics

        public java.util.List<Metric> getMetrics()
                                          throws java.io.IOException
        Gets the metrics for this processing element input port
        Returns:
        List of IBM Streams Metrics
        Throws:
        java.io.IOException
      • getTransportType

        public java.lang.String getTransportType()
        Gets the transport type for this processing element input port
        Returns:
        the transport type containing one of the following possible values:
        • tcp
        • llm-rum-tcp
        • llm-rum-ib
      • getResourceType

        public java.lang.String getResourceType()
        Identifies the REST resource type
        Returns:
        "peInputPort"
streamsx.topology 2.1 @ IBMStreams GitHub