Interface ForwardGroup<T>

All Known Implementing Classes:
JobVertexForwardGroup, StreamNodeForwardGroup

public interface ForwardGroup<T>
A forward group is a set of job vertices or stream nodes connected via forward edges. Parallelisms of all job vertices or stream nodes in the same ForwardGroup must be the same.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the max parallelism for this forward group.
    int
    Returns the parallelism for this forward group.
    Returns the vertex ids in this forward group.
    boolean
    Returns if max parallelism has been decided for this forward group.
    boolean
    Returns if parallelism has been decided for this forward group.
    void
    setMaxParallelism(int maxParallelism)
    Sets the max parallelism for this forward group.
    void
    setParallelism(int parallelism)
    Sets the parallelism for this forward group.
  • Method Details

    • setParallelism

      void setParallelism(int parallelism)
      Sets the parallelism for this forward group.
      Parameters:
      parallelism - the parallelism to set.
    • isParallelismDecided

      boolean isParallelismDecided()
      Returns if parallelism has been decided for this forward group.
      Returns:
      is parallelism decided for this forward group.
    • getParallelism

      int getParallelism()
      Returns the parallelism for this forward group.
      Returns:
      parallelism for this forward group.
    • setMaxParallelism

      void setMaxParallelism(int maxParallelism)
      Sets the max parallelism for this forward group.
      Parameters:
      maxParallelism - the max parallelism to set.
    • isMaxParallelismDecided

      boolean isMaxParallelismDecided()
      Returns if max parallelism has been decided for this forward group.
      Returns:
      is max parallelism decided for this forward group.
    • getMaxParallelism

      int getMaxParallelism()
      Returns the max parallelism for this forward group.
      Returns:
      max parallelism for this forward group.
    • getVertexIds

      Set<T> getVertexIds()
      Returns the vertex ids in this forward group.
      Returns:
      vertex ids in this forward group.