org.apache.oozie.jms
Class JMSSLAEventListener

java.lang.Object
  extended by org.apache.oozie.sla.listener.SLAEventListener
      extended by org.apache.oozie.jms.JMSSLAEventListener

public class JMSSLAEventListener
extends SLAEventListener


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

JMSSLAEventListener

public JMSSLAEventListener()
Method Detail

init

public void init(org.apache.hadoop.conf.Configuration conf)
          throws Exception
Description copied from class: SLAEventListener
Initialize the listener

Specified by:
init in class SLAEventListener
Throws:
Exception

onStartMiss

public void onStartMiss(org.apache.oozie.client.event.SLAEvent event)
Description copied from class: SLAEventListener
on SLA job start-time limit missed

Specified by:
onStartMiss in class SLAEventListener

onEndMiss

public void onEndMiss(org.apache.oozie.client.event.SLAEvent event)
Description copied from class: SLAEventListener
on SLA job end-time limit missed

Specified by:
onEndMiss in class SLAEventListener

onDurationMiss

public void onDurationMiss(org.apache.oozie.client.event.SLAEvent event)
Description copied from class: SLAEventListener
on SLA job duration limit missed

Specified by:
onDurationMiss in class SLAEventListener

onStartMet

public void onStartMet(org.apache.oozie.client.event.SLAEvent event)
Description copied from class: SLAEventListener
on SLA job start-time limit met

Specified by:
onStartMet in class SLAEventListener

onEndMet

public void onEndMet(org.apache.oozie.client.event.SLAEvent event)
Description copied from class: SLAEventListener
on SLA job end-time limit met

Specified by:
onEndMet in class SLAEventListener

onDurationMet

public void onDurationMet(org.apache.oozie.client.event.SLAEvent event)
Description copied from class: SLAEventListener
on SLA job duration limit met

Specified by:
onDurationMet in class SLAEventListener

sendSLANotification

protected void sendSLANotification(org.apache.oozie.client.event.SLAEvent event)

sendJMSMessage

protected void sendJMSMessage(org.apache.oozie.client.event.message.SLAMessage slaMsg,
                              String messageBody,
                              String topicName,
                              String messageFormat)

getTopic

public String getTopic(org.apache.oozie.client.event.SLAEvent event)

destroy

public void destroy()
Description copied from class: SLAEventListener
Destroy the listener

Specified by:
destroy in class SLAEventListener


Copyright © 2013 Apache Software Foundation. All Rights Reserved.