Package io.trino.hdfs
Class FileSystemFinalizerService
java.lang.Object
io.trino.hdfs.FileSystemFinalizerService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFinalizer(Object referent, Runnable cleanup) When referent is freed by the garbage collector, run cleanup.voidstatic FileSystemFinalizerServicestatic voidshutdown()
-
Method Details
-
getInstance
-
shutdown
public static void shutdown() -
doShutdown
public void doShutdown() -
addFinalizer
When referent is freed by the garbage collector, run cleanup.Note: cleanup must not contain a reference to the referent object.
-