Lines Matching refs:txn
326 * @param txn the transaction used to protect this operation, null to use
334 public E put(Transaction txn, E entity)
344 txn == null &&
346 txn = env.beginTransaction(null, null);
351 Cursor cursor = db.openCursor(txn, null);
377 txn.abort();
379 txn.commit();
415 * @param txn the transaction used to protect this operation, null to use
420 public void putNoReturn(Transaction txn, E entity)
428 db.put(txn, keyEntry, dataEntry);
460 * @param txn the transaction used to protect this operation, null to use
468 public boolean putNoOverwrite(Transaction txn, E entity)
476 OperationStatus status = db.putNoOverwrite(txn, keyEntry, dataEntry);
508 public E get(Transaction txn, PK key, LockMode lockMode)
515 OperationStatus status = db.get(txn, keyEntry, dataEntry, lockMode);