Class ClusterOverview
- java.lang.Object
-
- org.apache.flink.runtime.messages.webmonitor.JobsOverview
-
- org.apache.flink.runtime.messages.webmonitor.ClusterOverview
-
- All Implemented Interfaces:
Serializable
,InfoMessage
- Direct Known Subclasses:
ClusterOverviewWithVersion
public class ClusterOverview extends JobsOverview
Response to theRequestStatusOverview
message, carrying a description of the Flink cluster status.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_SLOTS_AVAILABLE
static String
FIELD_NAME_SLOTS_FREE_AND_BLOCKED
static String
FIELD_NAME_SLOTS_TOTAL
static String
FIELD_NAME_TASKMANAGERS
static String
FIELD_NAME_TASKMANAGERS_BLOCKED
-
Fields inherited from class org.apache.flink.runtime.messages.webmonitor.JobsOverview
FIELD_NAME_JOBS_CANCELLED, FIELD_NAME_JOBS_FAILED, FIELD_NAME_JOBS_FINISHED, FIELD_NAME_JOBS_RUNNING
-
-
Constructor Summary
Constructors Constructor Description ClusterOverview(int numTaskManagersConnected, int numSlotsTotal, int numSlotsAvailable, Integer numTaskManagersBlocked, Integer numSlotsFreeAndBlocked, int numJobsRunningOrPending, int numJobsFinished, int numJobsCancelled, int numJobsFailed)
ClusterOverview(ResourceOverview resourceOverview, JobsOverview jobsOverview)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getNumSlotsAvailable()
int
getNumSlotsFreeAndBlocked()
int
getNumSlotsTotal()
int
getNumTaskManagersBlocked()
int
getNumTaskManagersConnected()
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.flink.runtime.messages.webmonitor.JobsOverview
combine, create, getNumJobsCancelled, getNumJobsFailed, getNumJobsFinished, getNumJobsRunningOrPending
-
-
-
-
Field Detail
-
FIELD_NAME_TASKMANAGERS
public static final String FIELD_NAME_TASKMANAGERS
- See Also:
- Constant Field Values
-
FIELD_NAME_SLOTS_TOTAL
public static final String FIELD_NAME_SLOTS_TOTAL
- See Also:
- Constant Field Values
-
FIELD_NAME_SLOTS_AVAILABLE
public static final String FIELD_NAME_SLOTS_AVAILABLE
- See Also:
- Constant Field Values
-
FIELD_NAME_TASKMANAGERS_BLOCKED
public static final String FIELD_NAME_TASKMANAGERS_BLOCKED
- See Also:
- Constant Field Values
-
FIELD_NAME_SLOTS_FREE_AND_BLOCKED
public static final String FIELD_NAME_SLOTS_FREE_AND_BLOCKED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClusterOverview
public ClusterOverview(int numTaskManagersConnected, int numSlotsTotal, int numSlotsAvailable, @Nullable Integer numTaskManagersBlocked, @Nullable Integer numSlotsFreeAndBlocked, int numJobsRunningOrPending, int numJobsFinished, int numJobsCancelled, int numJobsFailed)
-
ClusterOverview
public ClusterOverview(ResourceOverview resourceOverview, JobsOverview jobsOverview)
-
-
Method Detail
-
getNumTaskManagersConnected
public int getNumTaskManagersConnected()
-
getNumSlotsTotal
public int getNumSlotsTotal()
-
getNumSlotsAvailable
public int getNumSlotsAvailable()
-
getNumTaskManagersBlocked
public int getNumTaskManagersBlocked()
-
getNumSlotsFreeAndBlocked
public int getNumSlotsFreeAndBlocked()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classJobsOverview
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classJobsOverview
-
toString
public String toString()
- Overrides:
toString
in classJobsOverview
-
-