org.apache.hadoop.yarn.event
Interface Dispatcher
- All Known Implementing Classes:
- AsyncDispatcher
@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface Dispatcher
Event Dispatcher interface. It dispatches events to registered
event handlers based on event types.
DISPATCHER_EXIT_ON_ERROR_KEY
static final String DISPATCHER_EXIT_ON_ERROR_KEY
- See Also:
- Constant Field Values
DEFAULT_DISPATCHER_EXIT_ON_ERROR
static final boolean DEFAULT_DISPATCHER_EXIT_ON_ERROR
- See Also:
- Constant Field Values
getEventHandler
EventHandler getEventHandler()
register
void register(Class<? extends Enum> eventType,
EventHandler handler)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.