Package com.streambase.sb.operator
Class PortCounts
java.lang.Object
com.streambase.sb.operator.PortCounts
A record type to describe the number of input and output ports
an operator has.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPortCounts
(int numInputPorts, int numOutputPorts) Constructs a new PortCounts object requesting a change in the number of input and/or output ports. -
Method Summary
-
Field Details
-
inputs
public int inputsNumber of input ports N.B. - this cannot (but should) be final they are assigned directly elsewhere -
outputs
public int outputsNumber of output ports N.B. - this cannot (but should) be final they are assigned directly elsewhere
-
-
Constructor Details
-
PortCounts
public PortCounts(int numInputPorts, int numOutputPorts) Constructs a new PortCounts object requesting a change in the number of input and/or output ports.- Parameters:
numInputPorts
- the requested number of input portsnumOutputPorts
- the requested number of output ports- See Also:
-