@VisibleForTesting
    State state() {
      return state.get();
    }
Gets the current state of this key, State.READY or SIGNALLED.
jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java