From 0a78be150e162aad34c19f233dc2f4ca71f61135 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 4 Nov 2006 17:44:21 +0000 Subject: Support transaction isolation level of "none". --- src/main/java/com/amazon/carbonado/spi/TransactionManager.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/com/amazon/carbonado/spi') diff --git a/src/main/java/com/amazon/carbonado/spi/TransactionManager.java b/src/main/java/com/amazon/carbonado/spi/TransactionManager.java index 144b411..e8cc637 100644 --- a/src/main/java/com/amazon/carbonado/spi/TransactionManager.java +++ b/src/main/java/com/amazon/carbonado/spi/TransactionManager.java @@ -304,6 +304,8 @@ public abstract class TransactionManager { * * @param parent optional parent transaction * @param level required isolation level + * @return new transaction, parent transaction, or possibly null if required + * isolation level is none */ protected abstract Txn createTxn(Txn parent, IsolationLevel level) throws Exception; @@ -320,6 +322,8 @@ public abstract class TransactionManager { * @param level required isolation level * @param timeout desired timeout for lock acquisition, never negative * @param unit timeout unit, never null + * @return new transaction, parent transaction, or possibly null if required + * isolation level is none */ protected Txn createTxn(Txn parent, IsolationLevel level, int timeout, TimeUnit unit) -- cgit v1.2.3