org.apache.oozie.sla
Interface SLACalculator
- All Known Implementing Classes:
- SLACalculatorMemory
public interface SLACalculator
init
void init(org.apache.hadoop.conf.Configuration conf)
throws ServiceException
- Throws:
ServiceException
size
int size()
iterator
Iterator<String> iterator()
isEmpty
boolean isEmpty()
addRegistration
boolean addRegistration(String jobId,
SLARegistrationBean reg)
throws JPAExecutorException
- Throws:
JPAExecutorException
updateRegistration
boolean updateRegistration(String jobId,
SLARegistrationBean reg)
throws JPAExecutorException
- Throws:
JPAExecutorException
removeRegistration
void removeRegistration(String jobId)
addJobStatus
boolean addJobStatus(String jobId,
String jobStatus,
org.apache.oozie.client.event.JobEvent.EventStatus jobEventStatus,
Date startTime,
Date endTime)
throws JPAExecutorException,
ServiceException
- Throws:
JPAExecutorException
ServiceException
updateAllSlaStatus
void updateAllSlaStatus()
clear
void clear()
get
SLACalcStatus get(String jobId)
throws JPAExecutorException
- Throws:
JPAExecutorException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.