|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.sla.listener.SLAEventListener org.apache.oozie.sla.listener.SLAEmailEventListener
public class SLAEmailEventListener
Nested Class Summary | |
---|---|
static class |
SLAEmailEventListener.EmailField
|
Field Summary | |
---|---|
static String |
BLACKLIST_CACHE_TIMEOUT
|
static String |
BLACKLIST_FAIL_COUNT
|
static String |
EMAIL_BODY_FIELD_INDENT
|
static String |
EMAIL_BODY_FIELD_SEPARATER
|
static String |
EMAIL_BODY_HEADER_SEPARATER
|
static String |
OOZIE_BASE_URL
|
static String |
SMTP_CONNECTION_TIMEOUT
|
static String |
SMTP_TIMEOUT
|
Constructor Summary | |
---|---|
SLAEmailEventListener()
|
Method Summary | |
---|---|
void |
addBlackList(String email)
|
void |
destroy()
Destroy the listener |
void |
init(org.apache.hadoop.conf.Configuration conf)
Initialize the listener |
void |
onDurationMet(org.apache.oozie.client.event.SLAEvent work)
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 work)
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 work)
on SLA job start-time limit met |
void |
onStartMiss(org.apache.oozie.client.event.SLAEvent event)
on SLA job start-time limit missed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SMTP_CONNECTION_TIMEOUT
public static final String SMTP_TIMEOUT
public static final String BLACKLIST_CACHE_TIMEOUT
public static final String BLACKLIST_FAIL_COUNT
public static final String OOZIE_BASE_URL
public static String EMAIL_BODY_FIELD_SEPARATER
public static String EMAIL_BODY_FIELD_INDENT
public static String EMAIL_BODY_HEADER_SEPARATER
Constructor Detail |
---|
public SLAEmailEventListener()
Method Detail |
---|
public void init(org.apache.hadoop.conf.Configuration conf) throws Exception
SLAEventListener
init
in class SLAEventListener
Exception
public void destroy()
SLAEventListener
destroy
in class SLAEventListener
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 addBlackList(String email) throws Exception
Exception
public void onStartMet(org.apache.oozie.client.event.SLAEvent work)
SLAEventListener
onStartMet
in class SLAEventListener
public void onEndMet(org.apache.oozie.client.event.SLAEvent work)
SLAEventListener
onEndMet
in class SLAEventListener
public void onDurationMet(org.apache.oozie.client.event.SLAEvent work)
SLAEventListener
onDurationMet
in class SLAEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |