public class ClusterOverview extends JobsOverview
RequestStatusOverview
message, carrying a description
of the Flink cluster status.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_SLOTS_AVAILABLE |
static String |
FIELD_NAME_SLOTS_TOTAL |
static String |
FIELD_NAME_TASKMANAGERS |
FIELD_NAME_JOBS_CANCELLED, FIELD_NAME_JOBS_FAILED, FIELD_NAME_JOBS_FINISHED, FIELD_NAME_JOBS_RUNNING
Constructor and Description |
---|
ClusterOverview(int numTaskManagersConnected,
int numSlotsTotal,
int numSlotsAvailable,
int numJobsRunningOrPending,
int numJobsFinished,
int numJobsCancelled,
int numJobsFailed) |
ClusterOverview(int numTaskManagersConnected,
int numSlotsTotal,
int numSlotsAvailable,
JobsOverview jobs1,
JobsOverview jobs2) |
ClusterOverview(ResourceOverview resourceOverview,
JobsOverview jobsOverview) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getNumSlotsAvailable() |
int |
getNumSlotsTotal() |
int |
getNumTaskManagersConnected() |
int |
hashCode() |
String |
toString() |
combine, create, getNumJobsCancelled, getNumJobsFailed, getNumJobsFinished, getNumJobsRunningOrPending
public static final String FIELD_NAME_TASKMANAGERS
public static final String FIELD_NAME_SLOTS_TOTAL
public static final String FIELD_NAME_SLOTS_AVAILABLE
public ClusterOverview(int numTaskManagersConnected, int numSlotsTotal, int numSlotsAvailable, int numJobsRunningOrPending, int numJobsFinished, int numJobsCancelled, int numJobsFailed)
public ClusterOverview(int numTaskManagersConnected, int numSlotsTotal, int numSlotsAvailable, JobsOverview jobs1, JobsOverview jobs2)
public ClusterOverview(ResourceOverview resourceOverview, JobsOverview jobsOverview)
public int getNumTaskManagersConnected()
public int getNumSlotsTotal()
public int getNumSlotsAvailable()
public boolean equals(Object obj)
equals
in class JobsOverview
public int hashCode()
hashCode
in class JobsOverview
public String toString()
toString
in class JobsOverview
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.