class ShutdownLatch
Prevents the JVM from shutting down by creating a thread blocked on a latch.
<init> |
Prevents the JVM from shutting down by creating a thread blocked on a latch. ShutdownLatch() |
acquire |
Acquires the latch thread and blocks shutdown. fun acquire(): Unit |
release |
Releases the latch thread and allows shutdown. fun release(): Unit |