docs: @Override
      public void compact() throws DocumentStoreException {
          try {
              get(queue.submit(new CompactCallable(this.attachmentsDir)));
          } catch (ExecutionException e) {
              String message = "Failed to compact database";
              logger.log(Level.SEVERE, message, e);
              throw new DocumentStoreException(message, e.getCause());
          }
      }