public abstract class HistoryLoggingService
extends org.apache.hadoop.service.AbstractService
| Modifier and Type | Field and Description |
|---|---|
protected AppContext |
appContext |
| Constructor and Description |
|---|
HistoryLoggingService(String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handle(DAGHistoryEvent event)
Handle logging of history event
|
void |
setAppContext(AppContext appContext) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected AppContext appContext
public HistoryLoggingService(String name)
public void setAppContext(AppContext appContext)
public abstract void handle(DAGHistoryEvent event)
event - History event to be loggedCopyright © 2019 Apache Software Foundation. All rights reserved.