Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16430 FLIP-119 Pipelined Region Scheduling
  3. FLINK-17181

Drop generic Types in SchedulingTopology Interface

    XMLWordPrintableJSON

Details

    Description

      The SchedulingTopology interface has unnecessary generic types, which are currently always set to wildcards. Example:

      		private final SchedulingTopology<?, ?> schedulingTopology;
      
      
      		for (SchedulingExecutionVertex<?, ?> schedulingVertex : schedulingTopology.getVertices()) {
      			for (SchedulingResultPartition<?, ?> srp : schedulingVertex.getProducedResults()) {
      				...
      			}
      		}
      

      The above code should become:

      		private final SchedulingTopology schedulingTopology;
      
      
      		for (SchedulingExecutionVertex schedulingVertex : schedulingTopology.getVertices()) {
      			for (SchedulingResultPartition srp : schedulingVertex.getProducedResults()) {
      				...
      			}
      		}
      

      Attachments

        Issue Links

          Activity

            People

              gjy Gary Yao
              gjy Gary Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m