public class HiveInterruptUtils extends Object
Constructor and Description |
---|
HiveInterruptUtils() |
Modifier and Type | Method and Description |
---|---|
static HiveInterruptCallback |
add(HiveInterruptCallback command) |
static void |
checkInterrupted()
Checks if the current thread has been interrupted and throws RuntimeException is it has.
|
static void |
interrupt()
Request interruption of current hive command
|
static HiveInterruptCallback |
remove(HiveInterruptCallback command) |
public static HiveInterruptCallback add(HiveInterruptCallback command)
public static HiveInterruptCallback remove(HiveInterruptCallback command)
public static void interrupt()
public static void checkInterrupted()
Copyright © 2017 The Apache Software Foundation. All rights reserved.