public class FsJobStatusRetriever extends JobStatusRetriever
JobStatusRetriever. This implementation stores the job statuses
as State objects in a FsStateStore.
The store name is set to flowGroup.flowName, while the table name is set to flowExecutionId.jobGroup.jobName.| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_PREFIX |
EVENT_NAME_FIELD, metricContext, NA_KEY| Constructor and Description |
|---|
FsJobStatusRetriever(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 CONF_PREFIX
public FsJobStatusRetriever(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 JobStatusRetriever