Home | History | Annotate | Download | only in http

Lines Matching refs:Transaction

215   class Transaction;
217 friend class Transaction;
220 typedef std::list<Transaction*> TransactionList;
228 Transaction* writer;
248 // provided transaction to use the object. Returns an error code. |trans|
250 // The transaction is free to use the backend directly at any time after
252 int GetBackendForTransaction(Transaction* trans);
264 int DoomEntry(const std::string& key, Transaction* trans);
269 int AsyncDoomEntry(const std::string& key, Transaction* trans);
301 Transaction* trans);
307 Transaction* trans);
312 // Adds a transaction to an ActiveEntry. If this method returns ERR_IO_PENDING
313 // the transaction will be notified about completion via its IO callback. This
314 // method returns ERR_CACHE_RACE to signal the transaction that it cannot be
317 int AddTransactionToEntry(ActiveEntry* entry, Transaction* trans);
319 // Called when the transaction has finished working with this entry. |cancel|
322 void DoneWithEntry(ActiveEntry* entry, Transaction* trans, bool cancel);
324 // Called when the transaction has finished writing to this entry. |success|
328 // Called when the transaction has finished reading from this entry.
329 void DoneReadingFromEntry(ActiveEntry* entry, Transaction* trans);
331 // Converts the active writer transaction to a reader so that other
335 // Returns the LoadState of the provided pending transaction.
336 LoadState GetLoadStateForPendingTransaction(const Transaction* trans);
338 // Removes the transaction |trans|, from the pending list of an entry
340 void RemovePendingTransaction(Transaction* trans);
342 // Removes the transaction |trans|, from the pending list of |entry|.
344 Transaction* trans);
346 // Removes the transaction |trans|, from the pending list of |pending_op|.
348 Transaction* trans);