code: public synchronized MetaStore storeTerm(long term) {
      LOGGER.trace("Store term {}", term);
      metadataBuffer.writeLong(0, term).flush();
      return this;
    }
docs: Stores the current server term.
  
  @param term The current server term.
  @return The metastore.