public void stop ( ) { reflector . stop ( ) ; reflectorFuture . cancel ( true ) ; reflectExecutor . shutdown ( ) ; if ( resyncFuture != null ) { resyncFuture . cancel ( true ) ; resyncExecutor . shutdown ( ) ; } }
stops the resync thread pool firstly then stop the reflector