org.apache.hadoop.hive.common
Class HiveInterruptUtils
java.lang.Object
org.apache.hadoop.hive.common.HiveInterruptUtils
public class HiveInterruptUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveInterruptUtils
public HiveInterruptUtils()
add
public static HiveInterruptCallback add(HiveInterruptCallback command)
remove
public static HiveInterruptCallback remove(HiveInterruptCallback command)
interrupt
public static void interrupt()
- Request interruption of current hive command
checkInterrupted
public static void checkInterrupted()
- Checks if the current thread has been interrupted and throws RuntimeException is it has.
Copyright © 2013 The Apache Software Foundation