public interface SLACalculator
Modifier and Type | Method and Description |
---|---|
boolean |
addJobStatus(String jobId,
String jobStatus,
org.apache.oozie.client.event.JobEvent.EventStatus jobEventStatus,
Date startTime,
Date endTime) |
boolean |
addRegistration(String jobId,
SLARegistrationBean reg) |
void |
clear() |
SLACalcStatus |
get(String jobId) |
void |
init(org.apache.hadoop.conf.Configuration conf) |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
void |
removeRegistration(String jobId) |
int |
size() |
void |
updateAllSlaStatus() |
boolean |
updateRegistration(String jobId,
SLARegistrationBean reg) |
void init(org.apache.hadoop.conf.Configuration conf) throws ServiceException
ServiceException
int size()
boolean isEmpty()
boolean addRegistration(String jobId, SLARegistrationBean reg) throws JPAExecutorException
JPAExecutorException
boolean updateRegistration(String jobId, SLARegistrationBean reg) throws JPAExecutorException
JPAExecutorException
void removeRegistration(String jobId)
boolean addJobStatus(String jobId, String jobStatus, org.apache.oozie.client.event.JobEvent.EventStatus jobEventStatus, Date startTime, Date endTime) throws JPAExecutorException, ServiceException
JPAExecutorException
ServiceException
void updateAllSlaStatus()
void clear()
SLACalcStatus get(String jobId) throws JPAExecutorException
JPAExecutorException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.