public abstract class SLAEventListener extends Object
Constructor and Description |
---|
SLAEventListener() |
Modifier and Type | Method and Description |
---|---|
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
|
public SLAEventListener()
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
- Copyright © 2014 Apache Software Foundation. All Rights Reserved.