Example usage for org.apache.hadoop.yarn.event Dispatcher getEventHandler

List of usage examples for org.apache.hadoop.yarn.event Dispatcher getEventHandler

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.event Dispatcher getEventHandler.

Prototype

EventHandler<Event> getEventHandler();

Source Link

Usage

From source file:org.apache.tajo.master.rm.NodeLivelinessMonitor.java

License:Apache License

public NodeLivelinessMonitor(Dispatcher d) {
    super(NodeLivelinessMonitor.class.getSimpleName(), new SystemClock());
    this.dispatcher = d.getEventHandler();
}

From source file:org.apache.tajo.master.rm.WorkerLivelinessMonitor.java

License:Apache License

public WorkerLivelinessMonitor(Dispatcher d) {
    super(WorkerLivelinessMonitor.class.getSimpleName(), new SystemClock());
    this.dispatcher = d.getEventHandler();
}

From source file:org.apache.tajo.master.session.SessionLivelinessMonitor.java

License:Apache License

public SessionLivelinessMonitor(Dispatcher d) {
    super(SessionLivelinessMonitor.class.getSimpleName(), new SystemClock());
    this.dispatcher = d.getEventHandler();
}