Package com.teracloud.streams.rest
Class PEInputPort
java.lang.Object
com.teracloud.streams.rest.Element
com.teracloud.streams.rest.PEInputPort
An Input Port of the Streams Processing Element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the index of this input port within theprocessing element
Gets themetrics
for this processing element input portIdentifies the REST resource typeGets the transport type for this processing element input portMethods inherited from class com.teracloud.streams.rest.Element
getStreamsConnection, refresh, toString
-
Constructor Details
-
PEInputPort
public PEInputPort()
-
-
Method Details
-
getIndexWithinPE
public long getIndexWithinPE()Gets the index of this input port within theprocessing element
- Returns:
- the index number as a long
-
getMetrics
Gets themetrics
for this processing element input port- Returns:
- List of
Streams Metrics
- Throws:
IOException
-
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
Identifies the REST resource type- Returns:
- "peInputPort"
-