Package com.teracloud.streams.rest
Class OutputPort
java.lang.Object
com.teracloud.streams.rest.Element
com.teracloud.streams.rest.OutputPort
An Output Port of the Streams Operator
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.teracloud.streams.rest.Element
getStreamsConnection, refresh, toString
-
Constructor Details
-
OutputPort
public OutputPort()
-
-
Method Details
-
getIndexWithinOperator
public long getIndexWithinOperator()Gets the index of this output port within theoperator
- Returns:
- the index as a long
-
getMetrics
Gets themetrics
for this output port- Returns:
- List of
Streams Metrics
- Throws:
IOException
-
getName
Gets the name for this output port- Returns:
- the output port name
-
getResourceType
Identifies the REST resource type- Returns:
- "operatorOutputPort"
-
getStreamName
Identifies the name of the output stream associated with this output port- Returns:
- the output stream name for this port
-