adds a shutdownhook with a priority , the higher the priority the earlier will run . shutdownhooks with same priority run in a non-deterministic order . concode_field_sep Runnable hook concode_elem_sep AtomicBoolean shutdownInProgress concode_elem_sep ShutdownHookManager MGR concode_elem_sep Log LOG concode_elem_sep int priority concode_elem_sep Set<HookEntry> hooks concode_field_sep boolean isShutdownInProgress concode_elem_sep boolean hasShutdownHook concode_elem_sep boolean isShutdownInProgressInternal concode_elem_sep List<Runnable> getShutdownHooksInOrder concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean removeShutdownHookInternal concode_elem_sep boolean removeShutdownHook concode_elem_sep void run concode_elem_sep void addShutdownHookInternal concode_elem_sep List<Runnable> getShutdownHooksInOrderInternal concode_elem_sep boolean hasShutdownHookInternal
void function ( Runnable arg0 , int arg1 ) { MGR . addShutdownHookInternal ( arg0 , arg1 ) ; }