public class SparkShutdownHook extends Object implements Comparable<SparkShutdownHook>
Constructor and Description |
---|
SparkShutdownHook(int priority,
scala.Function0<scala.runtime.BoxedUnit> hook) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SparkShutdownHook other) |
void |
run() |
public SparkShutdownHook(int priority, scala.Function0<scala.runtime.BoxedUnit> hook)
public int compareTo(SparkShutdownHook other)
compareTo
in interface Comparable<SparkShutdownHook>
public void run()