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.


Field Summary
static boolean DEFAULT_DISPATCHER_EXIT_ON_ERROR
           
static String DISPATCHER_EXIT_ON_ERROR_KEY
           
 
Method Summary
 EventHandler getEventHandler()
           
 void register(Class<? extends Enum> eventType, EventHandler handler)
           
 

Field Detail

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
Method Detail

getEventHandler

EventHandler getEventHandler()

register

void register(Class<? extends Enum> eventType,
              EventHandler handler)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.