Example usage for org.apache.hadoop.yarn.event AsyncDispatcher subclass-usage

List of usage examples for org.apache.hadoop.yarn.event AsyncDispatcher subclass-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.event AsyncDispatcher subclass-usage.

Usage

From source file org.apache.tez.common.DrainDispatcher.java

public class DrainDispatcher extends AsyncDispatcher {
    static final String DEFAULT_NAME = "dispatcher";
    private volatile boolean drained = false;
    private volatile boolean stopped = false;
    private final BlockingQueue<Event> queue;
    private final Object mutex;