docs: public Map<String, ? extends Attachment> attachmentsForRevision(final InternalDocumentRevision rev) throws
              AttachmentException {
          try {
              return get(queue.submit(new SQLCallable<Map<String, ? extends Attachment>>() {
  
                  @Override
                  public Map<String, ? extends Attachment> call(SQLDatabase db) throws Exception {
                      return AttachmentManager.attachmentsForRevision(db, attachmentsDir,
                              attachmentStreamFactory, rev.getSequence());
                  }
              }));
          } catch (ExecutionException e) {
              logger.log(Level.SEVERE, "Failed to get attachments for revision");
              throw new AttachmentException(e);
          }
  
      }