public void stop() {
    if (compareAndSetState(new State[] { State.RUNNING, State.STARTING }, State.STOPPING)) {
      watcherThread.interrupt();
    }
  }
Tells the background thread to stop. Does not wait for it to exit.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/FileChangeWatcher.java