code: public synchronized void forceRun() throws MarkLogicSesameException {
          log.debug(String.valueOf(cache.size()));
          if( !cache.isEmpty()) {
              try {
                  flush();
              } catch (RepositoryException e) {
                  throw new MarkLogicSesameException("Could not flush write cache, encountered repository issue.",e);
              } catch (MalformedQueryException e) {
                  throw new MarkLogicSesameException("Could not flush write cache, query was malformed.",e);
              } catch (UpdateExecutionException e) {
                  throw new MarkLogicSesameException("Could not flush write cache, query update failed.",e);
              } catch (IOException e) {
                  throw new MarkLogicSesameException("Could not flush write cache, encountered IO issue.",e);
              }
          }
      }
docs: min
  forces the cache to flush if there is anything in it
  
  @throws MarkLogicSesameException