public class ClusterOverviewWithVersion extends ClusterOverview implements ResponseBody
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_COMMIT |
static String |
FIELD_NAME_VERSION |
FIELD_NAME_SLOTS_AVAILABLE, FIELD_NAME_SLOTS_TOTAL, FIELD_NAME_TASKMANAGERS
FIELD_NAME_JOBS_CANCELLED, FIELD_NAME_JOBS_FAILED, FIELD_NAME_JOBS_FINISHED, FIELD_NAME_JOBS_RUNNING
Constructor and Description |
---|
ClusterOverviewWithVersion(int numTaskManagersConnected,
int numSlotsTotal,
int numSlotsAvailable,
int numJobsRunningOrPending,
int numJobsFinished,
int numJobsCancelled,
int numJobsFailed,
String version,
String commitId) |
ClusterOverviewWithVersion(int numTaskManagersConnected,
int numSlotsTotal,
int numSlotsAvailable,
JobsOverview jobs1,
JobsOverview jobs2,
String version,
String commitId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ClusterOverviewWithVersion |
fromStatusOverview(ClusterOverview statusOverview,
String version,
String commitId) |
String |
getCommitId() |
String |
getVersion() |
int |
hashCode() |
getNumSlotsAvailable, getNumSlotsTotal, getNumTaskManagersConnected, toString
combine, create, getNumJobsCancelled, getNumJobsFailed, getNumJobsFinished, getNumJobsRunningOrPending
public static final String FIELD_NAME_VERSION
public static final String FIELD_NAME_COMMIT
public ClusterOverviewWithVersion(int numTaskManagersConnected, int numSlotsTotal, int numSlotsAvailable, int numJobsRunningOrPending, int numJobsFinished, int numJobsCancelled, int numJobsFailed, String version, String commitId)
public ClusterOverviewWithVersion(int numTaskManagersConnected, int numSlotsTotal, int numSlotsAvailable, JobsOverview jobs1, JobsOverview jobs2, String version, String commitId)
public static ClusterOverviewWithVersion fromStatusOverview(ClusterOverview statusOverview, String version, String commitId)
public String getVersion()
public String getCommitId()
public boolean equals(Object o)
equals
in class ClusterOverview
public int hashCode()
hashCode
in class ClusterOverview
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.