| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.event | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EventDispatcher<T extends Event>This is a specialized EventHandler to be used by Services that are expected
 handle a large number of events efficiently by ensuring that the caller
 thread is not blocked. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<Class<? extends Enum>,EventHandler> | AsyncDispatcher. eventDispatchers | 
| Modifier and Type | Method and Description | 
|---|---|
| EventHandler | Dispatcher. getEventHandler() | 
| EventHandler | AsyncDispatcher. getEventHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Dispatcher. register(Class<? extends Enum> eventType,
        EventHandler handler) | 
| void | AsyncDispatcher. register(Class<? extends Enum> eventType,
        EventHandler handler) | 
| Constructor and Description | 
|---|
| EventDispatcher(EventHandler<T> handler,
               String name) | 
Copyright © 2022 Apache Software Foundation. All rights reserved.