public class LocalFsJobStatusRetriever extends JobStatusRetriever
| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_PREFIX |
EVENT_NAME_FIELD, metricContext, NA_KEY| Constructor and Description |
|---|
LocalFsJobStatusRetriever(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) |
StateStore<State> |
getStateStore() |
getJobStatus, getLatestExecutionIdForFlow, getLatestJobStatusByFlowNameAndGroup, getMetricContext, isFlowStatuspublic static final String CONF_PREFIX
public LocalFsJobStatusRetriever(com.typesafe.config.Config config)
public 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 JobStatusRetrieverpublic List<Long> getLatestExecutionIdsForFlow(String flowName, String flowGroup, int count)
flowName - flowGroup - count flow execution ids with the given flowName and flowGroup. -1 will be returned if no such execution found.public StateStore<State> getStateStore()
getStateStore in class JobStatusRetriever