public static class AnnotatedWordCountWithListener.WordCountListener extends Object implements ToolListener<DriverContextBase>
ToolListener.Event| Constructor and Description |
|---|
WordCountListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAfterInitCliOptions(ToolEvent<DriverContextBase> event,
org.apache.commons.cli.Options options) |
void |
onAfterMapReduceFinish(int retval,
ToolEvent<DriverContextBase> event) |
void |
onAfterParseCli(ToolEvent<DriverContextBase> event,
org.apache.commons.cli.CommandLine line) |
void |
onBeforeExit(ToolEvent<DriverContextBase> event) |
void |
onBeforeInitDriver(String uid,
ToolEvent<DriverContextBase> event) |
void |
onBeforeInitJob(ToolEvent<DriverContextBase> event) |
void |
onBeforeMapReduceSubmit(ToolEvent<DriverContextBase> event) |
void |
onJobException(ToolEvent<DriverContextBase> event,
Exception e) |
public void onAfterInitCliOptions(ToolEvent<DriverContextBase> event, org.apache.commons.cli.Options options) throws Exception
onAfterInitCliOptions in interface ToolListener<DriverContextBase>Exceptionpublic void onAfterParseCli(ToolEvent<DriverContextBase> event, org.apache.commons.cli.CommandLine line) throws Exception
onAfterParseCli in interface ToolListener<DriverContextBase>Exceptionpublic void onBeforeInitDriver(String uid, ToolEvent<DriverContextBase> event) throws Exception
onBeforeInitDriver in interface ToolListener<DriverContextBase>Exceptionpublic void onBeforeInitJob(ToolEvent<DriverContextBase> event) throws Exception
onBeforeInitJob in interface ToolListener<DriverContextBase>Exceptionpublic void onBeforeMapReduceSubmit(ToolEvent<DriverContextBase> event) throws Exception
onBeforeMapReduceSubmit in interface ToolListener<DriverContextBase>Exceptionpublic void onAfterMapReduceFinish(int retval,
ToolEvent<DriverContextBase> event)
throws Exception
onAfterMapReduceFinish in interface ToolListener<DriverContextBase>Exceptionpublic void onBeforeExit(ToolEvent<DriverContextBase> event) throws Exception
onBeforeExit in interface ToolListener<DriverContextBase>Exceptionpublic void onJobException(ToolEvent<DriverContextBase> event, Exception e) throws Exception
onJobException in interface ToolListener<DriverContextBase>ExceptionCopyright © 2015 Conversant. All rights reserved.