Example usage for org.apache.hadoop.yarn.util AbstractLivelinessMonitor subclass-usage

List of usage examples for org.apache.hadoop.yarn.util AbstractLivelinessMonitor subclass-usage

Introduction

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

Usage

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

/**
 * It periodically checks the latest heartbeat time of {@link NodeStatus}.
 * If the latest heartbeat time is expired, it produces EXPIRE event to a corresponding {@link NodeStatus}.
 */
public class NodeLivelinessMonitor extends AbstractLivelinessMonitor<Integer> {

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

/**
 * It periodically checks the latest heartbeat time of {@link Worker}.
 * If the latest heartbeat time is expired, it produces EXPIRE event to a corresponding {@link Worker}.
 */
public class WorkerLivelinessMonitor extends AbstractLivelinessMonitor<Integer> {

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

public class SessionLivelinessMonitor extends AbstractLivelinessMonitor<String> {

    private EventHandler dispatcher;

    public SessionLivelinessMonitor(Dispatcher d) {
        super(SessionLivelinessMonitor.class.getSimpleName(), new SystemClock());

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

public class SessionLivelinessMonitor extends AbstractLivelinessMonitor<String> {

    private EventHandler dispatcher;

    public SessionLivelinessMonitor(Dispatcher d) {
        super(SessionLivelinessMonitor.class.getSimpleName(), new SystemClock());