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
ServiceExceptionint size()
boolean isEmpty()
boolean addRegistration(String jobId, SLARegistrationBean reg) throws JPAExecutorException
JPAExecutorExceptionboolean updateRegistration(String jobId, SLARegistrationBean reg) throws JPAExecutorException
JPAExecutorExceptionvoid removeRegistration(String jobId)
boolean addJobStatus(String jobId, String jobStatus, org.apache.oozie.client.event.JobEvent.EventStatus jobEventStatus, Date startTime, Date endTime) throws JPAExecutorException, ServiceException
JPAExecutorExceptionServiceExceptionvoid updateAllSlaStatus()
void clear()
SLACalcStatus get(String jobId) throws JPAExecutorException
JPAExecutorExceptionCopyright © 2014 Apache Software Foundation. All Rights Reserved.