code: public DirectoryPoller get() {
          try {
              return future.get();
          } catch (Exception e) {
              String message = "get() method threw exception!";
              throw new UnsupportedOperationException(message, e);
          }
      }
docs: Retrieves the {@link DirectoryPoller} instance.
  This method will block until all {@link BeforeStartEvent} events has been
  fired (and processed by all listeners.)
  
  @return a started {@link DirectoryPoller} instance.