public class MysqlJobStatusRetriever extends JobStatusRetriever
JobStatus.| Modifier and Type | Field and Description |
|---|---|
static String |
GET_ALL_FLOW_STATUSES_METRIC |
static String |
GET_LATEST_FLOW_STATUS_METRIC |
static String |
GET_LATEST_JOB_STATUS_METRIC |
static String |
MYSQL_JOB_STATUS_RETRIEVER_PREFIX |
EVENT_NAME_FIELD, metricContext, NA_KEY| Constructor and Description |
|---|
MysqlJobStatusRetriever(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<JobStatus> |
getJobStatusesForFlowExecution(String flowName,
String flowGroup,
long flowExecutionId) |
Iterator<JobStatus> |
getJobStatusesForFlowExecution(String flowName,
String flowGroup,
long flowExecutionId,
String jobName,
String jobGroup) |
List<Long> |
getLatestExecutionIdsForFlow(String flowName,
String flowGroup,
int count) |
getJobStatus, getLatestExecutionIdForFlow, getLatestJobStatusByFlowNameAndGroup, getMetricContext, getStateStore, isFlowStatuspublic static final String MYSQL_JOB_STATUS_RETRIEVER_PREFIX
public static final String GET_LATEST_JOB_STATUS_METRIC
public static final String GET_LATEST_FLOW_STATUS_METRIC
public static final String GET_ALL_FLOW_STATUSES_METRIC
public MysqlJobStatusRetriever(com.typesafe.config.Config config)
throws ReflectiveOperationException
ReflectiveOperationExceptionpublic Iterator<JobStatus> getJobStatusesForFlowExecution(String flowName, String flowGroup, long flowExecutionId)
getJobStatusesForFlowExecution in class JobStatusRetrieverpublic Iterator<JobStatus> getJobStatusesForFlowExecution(String flowName, String flowGroup, long flowExecutionId, String jobName, String jobGroup)
getJobStatusesForFlowExecution in class JobStatusRetriever