public class SparkShutdownHook extends java.lang.Object implements java.lang.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 java.lang.Comparable<SparkShutdownHook>
public void run()