|
||||||||||
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
public abstract class SLAEventListener
Event listener for SLA related events, defining methods corresponding to SLA mets/misses
Constructor Summary | |
---|---|
SLAEventListener()
|
Method Summary | |
---|---|
abstract void |
destroy()
Destroy the listener |
abstract void |
init(org.apache.hadoop.conf.Configuration conf)
Initialize the listener |
abstract void |
onDurationMet(org.apache.oozie.client.event.SLAEvent work)
on SLA job duration limit met |
abstract void |
onDurationMiss(org.apache.oozie.client.event.SLAEvent event)
on SLA job duration limit missed |
abstract void |
onEndMet(org.apache.oozie.client.event.SLAEvent work)
on SLA job end-time limit met |
abstract void |
onEndMiss(org.apache.oozie.client.event.SLAEvent event)
on SLA job end-time limit missed |
abstract void |
onStartMet(org.apache.oozie.client.event.SLAEvent work)
on SLA job start-time limit met |
abstract 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 |
Constructor Detail |
---|
public SLAEventListener()
Method Detail |
---|
public abstract void init(org.apache.hadoop.conf.Configuration conf) throws Exception
conf
-
Exception
public abstract void destroy()
public abstract void onStartMet(org.apache.oozie.client.event.SLAEvent work)
SLAEvent
- public abstract void onStartMiss(org.apache.oozie.client.event.SLAEvent event)
SLAEvent
- public abstract void onEndMet(org.apache.oozie.client.event.SLAEvent work)
SLAEvent
- public abstract void onEndMiss(org.apache.oozie.client.event.SLAEvent event)
SLAEvent
- public abstract void onDurationMet(org.apache.oozie.client.event.SLAEvent work)
SLAEvent
- public abstract void onDurationMiss(org.apache.oozie.client.event.SLAEvent event)
SLAEvent
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |