- * Tries to shutdown the given executor gracefully by awaiting termination for the given
- * timeout period. If the timeout elapses before termination, the executor is forcefully
- * shutdown.
+ * Tries to shutdown the given executor gracefully by awaiting termination for the given timeout period. If the
+ * timeout elapses before termination, the executor is forcefully shutdown.
+ *
+ * @param executor Executor to shut down
+ * @param timeout timeout period
+ * @param unit timeout unit