public void stop ( ) { stopWrites ( ) ; stopReads ( ) ; if ( timerRef != null && timerRef . get ( ) != null ) { timerRef . get ( ) . shutdownNow ( ) ; timerRef . set ( null ) ; } ndBenchMonitor . resetStats ( ) ; }
FUNCTIONALITY FOR STOPPING THE WORKERS