private synchronized State getState() {
    return state;
  }
Returns the current {@link FileChangeWatcher.State}.
@return the current state.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/FileChangeWatcher.java