final void enqueue(Key key) {
    if (isOpen()) {
      queue.add(key);
    }
  }
Enqueues the given key if the watch service is open; does nothing otherwise.
jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java