original_docstring: Applies the current txn on the given entity group.
  
      This function blindly performs the operations contained in the current txn.
      The calling function must acquire the entity group write lock and ensure
      transactions are applied in order.
      
docstring: Applies the current txn on the given entity group.
  This function blindly performs the operations contained in the current txn.
  The calling function must acquire the entity group write lock and ensure
  transactions are applied in order.
docstring_tokens: Applies the current txn on the given entity group . This function blindly performs the operations contained in the current txn . The calling function must acquire the entity group write lock and ensure transactions are applied in order .
code: def _Apply(self, meta_data):
      """Applies the current txn on the given entity group.
  
      This function blindly performs the operations contained in the current txn.
      The calling function must acquire the entity group write lock and ensure
      transactions are applied in order.
      """
  
      self._apply_lock.acquire()
      try:
  
        assert self._state == self.COMMITED
        for tracker in self._entity_groups.values():
          if tracker._meta_data is meta_data:
            break
        else:
          assert False
        assert tracker._read_pos != tracker.APPLIED
  
  
        for entity, insert in tracker._put.itervalues():
          self._txn_manager._Put(entity, insert)
  
  
        for key in tracker._delete.itervalues():
          self._txn_manager._Delete(key)
  
  
  
        tracker._read_pos = EntityGroupTracker.APPLIED
  
  
        tracker._meta_data.Unlog(self)
      finally:
        self._apply_lock.release()
code_tokens: def _Apply ( self , meta_data ) : self . _apply_lock . acquire ( ) try : assert self . _state == self . COMMITED for tracker in self . _entity_groups . values ( ) : if tracker . _meta_data is meta_data : break else : assert False assert tracker . _read_pos != tracker . APPLIED for entity , insert in tracker . _put . itervalues ( ) : self . _txn_manager . _Put ( entity , insert ) for key in tracker . _delete . itervalues ( ) : self . _txn_manager . _Delete ( key ) tracker . _read_pos = EntityGroupTracker . APPLIED tracker . _meta_data . Unlog ( self ) finally : self . _apply_lock . release ( )
short_docstring: Applies the current txn on the given entity group.
short_docstring_tokens: Applies the current txn on the given entity group .
comment: """Applies the current txn on the given entity group.
  
      This function blindly performs the operations contained in the current txn.
      The calling function must acquire the entity group write lock and ensure
      transactions are applied in order.
      """