/** This method will trigger a grace full shutdown sequence of all threads. */ public void shutDown() { logger.info("SHUTTING DOWN...."); detectiveOO7.graceFullShutDown(); }
// ----------------------RUNNING THE GARBAGE COLLECTOR----------------- protected void finalize() { logger.info("Inside finalize method, killing the child threads"); detectiveOO7.graceFullShutDown(); }