|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.service.CompositeService
org.apache.hadoop.yarn.server.resourcemanager.ahs.RMApplicationHistoryWriter.MultiThreadedDispatcher
protected static class RMApplicationHistoryWriter.MultiThreadedDispatcher
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.service.CompositeService |
|---|
org.apache.hadoop.service.CompositeService.CompositeServiceShutdownHook |
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.service.CompositeService |
|---|
STOP_ONLY_STARTED_SERVICES |
| Fields inherited from interface org.apache.hadoop.yarn.event.Dispatcher |
|---|
DEFAULT_DISPATCHER_EXIT_ON_ERROR, DISPATCHER_EXIT_ON_ERROR_KEY |
| Constructor Summary | |
|---|---|
RMApplicationHistoryWriter.MultiThreadedDispatcher(int num)
|
|
| Method Summary | |
|---|---|
protected org.apache.hadoop.yarn.event.AsyncDispatcher |
createDispatcher()
|
org.apache.hadoop.yarn.event.EventHandler |
getEventHandler()
|
void |
register(Class<? extends Enum> eventType,
org.apache.hadoop.yarn.event.EventHandler handler)
|
void |
setDrainEventsOnStop()
|
| Methods inherited from class org.apache.hadoop.service.CompositeService |
|---|
addIfService, addService, getServices, removeService, serviceInit, serviceStart, serviceStop |
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RMApplicationHistoryWriter.MultiThreadedDispatcher(int num)
| Method Detail |
|---|
public org.apache.hadoop.yarn.event.EventHandler getEventHandler()
getEventHandler in interface org.apache.hadoop.yarn.event.Dispatcher
public void register(Class<? extends Enum> eventType,
org.apache.hadoop.yarn.event.EventHandler handler)
register in interface org.apache.hadoop.yarn.event.Dispatcherpublic void setDrainEventsOnStop()
protected org.apache.hadoop.yarn.event.AsyncDispatcher createDispatcher()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||