| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.event | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| 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<Event> | Dispatcher. getEventHandler() | 
| EventHandler<Event> | 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 © 2008–2025 Apache Software Foundation. All rights reserved.