Stops the thread by leaving its main loop. {@link #afterTermination()} iscalled before the thread is terminated. The method waits until the thread has stopped.
@throws Exception if the thread has not finished within shutdownTimeout
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.