| 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<Event> |
AsyncDispatcher.getEventHandler() |
EventHandler<Event> |
Dispatcher.getEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncDispatcher.register(Class<? extends Enum> eventType,
EventHandler handler) |
void |
Dispatcher.register(Class<? extends Enum> eventType,
EventHandler handler) |
| Constructor and Description |
|---|
EventDispatcher(EventHandler<T> handler,
String name) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.