Class DataStreamChannel.Instance

All Implemented Interfaces:
ChannelInstance, ExecutionResource, ReferenceCountable
Enclosing class:
DataStreamChannel

public class DataStreamChannel.Instance extends AbstractChannelInstance
ChannelInstance implementation for DataStreams.
  • Constructor Details

  • Method Details

    • accept

      public void accept(org.apache.flink.streaming.api.datastream.DataStream<?> dataStream)
    • provideDataStream

      public <T> org.apache.flink.streaming.api.datastream.DataStream<T> provideDataStream()
    • getMeasuredCardinality

      public OptionalLong getMeasuredCardinality()
      Description copied from interface: ChannelInstance
      Optionally provides the measured cardinality of this instance. However, such a cardinality might not be available for several reasons. For instance, the measurement might not have been requested or could not be implemented by the executing Platform.
      Specified by:
      getMeasuredCardinality in interface ChannelInstance
      Overrides:
      getMeasuredCardinality in class AbstractChannelInstance
      Returns:
      the measured cardinality if available
    • getChannel

      public DataStreamChannel getChannel()
      Returns:
      the Channel that is implemented by this instance
    • doDispose

      protected void doDispose()
      Description copied from class: ExecutionResourceTemplate
      Performs the actual disposing work of this instance.
      Specified by:
      doDispose in class ExecutionResourceTemplate