|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oozie.sla.listener.SLAEventListener
org.apache.oozie.jms.JMSSLAEventListener
public class JMSSLAEventListener
Constructor Summary | |
---|---|
JMSSLAEventListener()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the listener |
String |
getTopic(org.apache.oozie.client.event.SLAEvent event)
|
void |
init(org.apache.hadoop.conf.Configuration conf)
Initialize the listener |
void |
onDurationMet(org.apache.oozie.client.event.SLAEvent event)
on SLA job duration limit met |
void |
onDurationMiss(org.apache.oozie.client.event.SLAEvent event)
on SLA job duration limit missed |
void |
onEndMet(org.apache.oozie.client.event.SLAEvent event)
on SLA job end-time limit met |
void |
onEndMiss(org.apache.oozie.client.event.SLAEvent event)
on SLA job end-time limit missed |
void |
onStartMet(org.apache.oozie.client.event.SLAEvent event)
on SLA job start-time limit met |
void |
onStartMiss(org.apache.oozie.client.event.SLAEvent event)
on SLA job start-time limit missed |
protected void |
sendJMSMessage(org.apache.oozie.client.event.message.SLAMessage slaMsg,
String messageBody,
String topicName,
String messageFormat)
|
protected void |
sendSLANotification(org.apache.oozie.client.event.SLAEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSSLAEventListener()
Method Detail |
---|
public void init(org.apache.hadoop.conf.Configuration conf) throws Exception
SLAEventListener
init
in class SLAEventListener
Exception
public void onStartMiss(org.apache.oozie.client.event.SLAEvent event)
SLAEventListener
onStartMiss
in class SLAEventListener
public void onEndMiss(org.apache.oozie.client.event.SLAEvent event)
SLAEventListener
onEndMiss
in class SLAEventListener
public void onDurationMiss(org.apache.oozie.client.event.SLAEvent event)
SLAEventListener
onDurationMiss
in class SLAEventListener
public void onStartMet(org.apache.oozie.client.event.SLAEvent event)
SLAEventListener
onStartMet
in class SLAEventListener
public void onEndMet(org.apache.oozie.client.event.SLAEvent event)
SLAEventListener
onEndMet
in class SLAEventListener
public void onDurationMet(org.apache.oozie.client.event.SLAEvent event)
SLAEventListener
onDurationMet
in class SLAEventListener
protected void sendSLANotification(org.apache.oozie.client.event.SLAEvent event)
protected void sendJMSMessage(org.apache.oozie.client.event.message.SLAMessage slaMsg, String messageBody, String topicName, String messageFormat)
public String getTopic(org.apache.oozie.client.event.SLAEvent event)
public void destroy()
SLAEventListener
destroy
in class SLAEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |