code: public Xid createXid() {
          byte[] globalId = baseId.clone();
          long id;
          synchronized (this) {
              id = count++;
          }
          insertLong(id, globalId, 0);
          return new XidImpl(globalId);
      }
docs: Creates the Xid.
  @return the new Xid