Package org.apache.spark.util
Class SparkShutdownHook
Object
org.apache.spark.util.SparkShutdownHook
- All Implemented Interfaces:
Comparable<SparkShutdownHook>
-
Constructor Summary
ConstructorDescriptionSparkShutdownHook
(int priority, scala.Function0<scala.runtime.BoxedUnit> hook) -
Method Summary
-
Constructor Details
-
SparkShutdownHook
public SparkShutdownHook(int priority, scala.Function0<scala.runtime.BoxedUnit> hook)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SparkShutdownHook>
-
run
public void run()
-