protected void closeWatchService ( ) { try { getWatchService ( ) . close ( ) ; } catch ( IOException e ) { if ( LOG . isErrorEnabled ( ) ) { LOG . error ( "Error stopping file watch service: " + e . getMessage ( ) , e ) ; } } }
Closes the watch service .