public void stop ( ) { if ( schedulerThread != null ) { schedulerThread . interrupt ( ) ; try { schedulerThread . join ( 1000 ) ; } catch ( InterruptedException ie ) { } // application.releaseRequest(schedulerThread); schedulerThread = null ; System . out . println ( new LogEntry ( "scheduler thread stopped..." ) ) ; } }
Stops scheduler thread .