public static void invoke ( ) { for ( final Runnable instance : instances ) { try { instance . run ( ) ; } catch ( final Throwable t ) { LOGGER . error ( SHUTDOWN_HOOK_MARKER , "Caught exception executing shutdown hook {}" , instance , t ) ; } } }
Invoke all ShutdownCallbackRegistry instances .