Interface ShutdownHooks.Task

Enclosing class:
ShutdownHooks

public static interface ShutdownHooks.Task
A task that can be executed on shutdown. Similar to Runnable but allows throwing checked exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Run the task.
  • Method Details