Class JobVertexForwardGroup

    • Constructor Detail

      • JobVertexForwardGroup

        public JobVertexForwardGroup​(Set<JobVertex> jobVertices)
    • Method Detail

      • setParallelism

        public void setParallelism​(int parallelism)
        Description copied from interface: ForwardGroup
        Sets the parallelism for this forward group.
        Specified by:
        setParallelism in interface ForwardGroup<JobVertexID>
        Parameters:
        parallelism - the parallelism to set.
      • isParallelismDecided

        public boolean isParallelismDecided()
        Description copied from interface: ForwardGroup
        Returns if parallelism has been decided for this forward group.
        Specified by:
        isParallelismDecided in interface ForwardGroup<JobVertexID>
        Returns:
        is parallelism decided for this forward group.
      • getParallelism

        public int getParallelism()
        Description copied from interface: ForwardGroup
        Returns the parallelism for this forward group.
        Specified by:
        getParallelism in interface ForwardGroup<JobVertexID>
        Returns:
        parallelism for this forward group.
      • setMaxParallelism

        public void setMaxParallelism​(int maxParallelism)
        Description copied from interface: ForwardGroup
        Sets the max parallelism for this forward group.
        Specified by:
        setMaxParallelism in interface ForwardGroup<JobVertexID>
        Parameters:
        maxParallelism - the max parallelism to set.
      • isMaxParallelismDecided

        public boolean isMaxParallelismDecided()
        Description copied from interface: ForwardGroup
        Returns if max parallelism has been decided for this forward group.
        Specified by:
        isMaxParallelismDecided in interface ForwardGroup<JobVertexID>
        Returns:
        is max parallelism decided for this forward group.
      • getMaxParallelism

        public int getMaxParallelism()
        Description copied from interface: ForwardGroup
        Returns the max parallelism for this forward group.
        Specified by:
        getMaxParallelism in interface ForwardGroup<JobVertexID>
        Returns:
        max parallelism for this forward group.
      • size

        @VisibleForTesting
        public int size()