Class JobVertexBackPressureInfo.SubtaskBackPressureInfo
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.JobVertexBackPressureInfo.SubtaskBackPressureInfo
-
- Enclosing class:
- JobVertexBackPressureInfo
public static final class JobVertexBackPressureInfo.SubtaskBackPressureInfo extends Object
Nested class to encapsulate the sub tasks back pressure.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEPRECATED_FIELD_NAME_BACKPRESSURE_LEVEL
static String
FIELD_NAME_ATTEMPT_NUMBER
static String
FIELD_NAME_BACK_PRESSURED_RATIO
static String
FIELD_NAME_BACKPRESSURE_LEVEL
static String
FIELD_NAME_BUSY_RATIO
static String
FIELD_NAME_IDLE_RATIO
static String
FIELD_NAME_OTHER_CONCURRENT_ATTEMPTS
static String
FIELD_NAME_SUBTASK
-
Constructor Summary
Constructors Constructor Description SubtaskBackPressureInfo(int subtask, Integer attemptNumber, JobVertexBackPressureInfo.VertexBackPressureLevel backpressureLevel, double backPressuredRatio, double idleRatio, double busyRatio, List<JobVertexBackPressureInfo.SubtaskBackPressureInfo> otherConcurrentAttempts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getAttemptNumber()
double
getBackPressuredRatio()
JobVertexBackPressureInfo.VertexBackPressureLevel
getBackpressureLevel()
double
getBusyRatio()
double
getIdleRatio()
List<JobVertexBackPressureInfo.SubtaskBackPressureInfo>
getOtherConcurrentAttempts()
int
getSubtask()
int
hashCode()
-
-
-
Field Detail
-
FIELD_NAME_SUBTASK
public static final String FIELD_NAME_SUBTASK
- See Also:
- Constant Field Values
-
FIELD_NAME_ATTEMPT_NUMBER
public static final String FIELD_NAME_ATTEMPT_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATED_FIELD_NAME_BACKPRESSURE_LEVEL
public static final String DEPRECATED_FIELD_NAME_BACKPRESSURE_LEVEL
- See Also:
- Constant Field Values
-
FIELD_NAME_BACKPRESSURE_LEVEL
public static final String FIELD_NAME_BACKPRESSURE_LEVEL
- See Also:
- Constant Field Values
-
FIELD_NAME_BACK_PRESSURED_RATIO
public static final String FIELD_NAME_BACK_PRESSURED_RATIO
- See Also:
- Constant Field Values
-
FIELD_NAME_IDLE_RATIO
public static final String FIELD_NAME_IDLE_RATIO
- See Also:
- Constant Field Values
-
FIELD_NAME_BUSY_RATIO
public static final String FIELD_NAME_BUSY_RATIO
- See Also:
- Constant Field Values
-
FIELD_NAME_OTHER_CONCURRENT_ATTEMPTS
public static final String FIELD_NAME_OTHER_CONCURRENT_ATTEMPTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubtaskBackPressureInfo
public SubtaskBackPressureInfo(int subtask, @Nullable Integer attemptNumber, JobVertexBackPressureInfo.VertexBackPressureLevel backpressureLevel, double backPressuredRatio, double idleRatio, double busyRatio, @Nullable List<JobVertexBackPressureInfo.SubtaskBackPressureInfo> otherConcurrentAttempts)
-
-
Method Detail
-
getSubtask
public int getSubtask()
-
getBackpressureLevel
public JobVertexBackPressureInfo.VertexBackPressureLevel getBackpressureLevel()
-
getBackPressuredRatio
public double getBackPressuredRatio()
-
getIdleRatio
public double getIdleRatio()
-
getBusyRatio
public double getBusyRatio()
-
getAttemptNumber
@Nullable public Integer getAttemptNumber()
-
getOtherConcurrentAttempts
@Nullable public List<JobVertexBackPressureInfo.SubtaskBackPressureInfo> getOtherConcurrentAttempts()
-
-