Skip to content

Commit

Permalink
[hotfix][docs] Update addShutdownHookThread javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
leesf authored and zentol committed Jan 9, 2019
1 parent 4782236 commit a93e91a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ public static Thread addShutdownHook(
}

/**
* Adds a shutdown hook to the JVM and returns the Thread, which has been registered.
* Adds a shutdown hook to the JVM.
*
* @param shutdownHook Shutdown hook to be registered.
* @param serviceName The name of service.
* @param logger The logger to log.
* @return Whether the hook has been successfully registered.
*/
public static boolean addShutdownHookThread(
final Thread shutdownHook,
Expand Down

0 comments on commit a93e91a

Please sign in to comment.