Package org.apache.hadoop.util

Examples of org.apache.hadoop.util.Daemon.interrupt()


    @Override
    protected void _processEvent(InjectionEventI event, Object... args) {
      if (event == InjectionEvent.FSNAMESYSTEM_STOP_MONITOR) {
        Daemon monitor = (Daemon) args[0];
        if (monitor != null && monitor.isAlive()) {
          monitor.interrupt();
        }
      }
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.