Stops the batcher. The Batcher has to wait for the other processes like the Collector and the Executor to complete. It waits until it is notified that the other processes have completed gracefully. The collector waits until there are no more messages in the queue(tries 3 times waiting for 0.5 seconds each) and then shuts down gracefully.
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.