def _SetMaxId(self, max_id):
    count, id_space = datastore_stub_util.IdToCounter(max_id)
    if count >= self._IdCounter(id_space):
      self._SetIdCounter(id_space, count + 1)
Add an item or items to a queue
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/datastore_file_stub.py/DatastoreFileStub._SetMaxId--crossover with--dataset/ETHPy150Open saltstack/salt/salt/queues/sqlite_queue.py/insert