[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jboss-cache/src/main/org/jboss/cache TreeCache.java
From: Ben Wang <bwang00 () users ! sourceforge ! net>
Date: 2004-08-31 17:07:44
Message-ID: E1C2C6i-0000hC-PJ () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
User: bwang00
Date: 04/08/31 10:07:44
Modified: src/main/org/jboss/cache TreeCache.java
Log:
Rolled back the LockStrategyFactory changes. Need to refactor it again
Revision Changes Path
1.155 +2 -14 jboss-cache/src/main/org/jboss/cache/TreeCache.java
Index: TreeCache.java
===================================================================
RCS file: /cvsroot/jboss/jboss-cache/src/main/org/jboss/cache/TreeCache.java,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- TreeCache.java 31 Aug 2004 16:15:09 -0000 1.154
+++ TreeCache.java 31 Aug 2004 17:07:44 -0000 1.155
@@ -40,7 +40,7 @@
*
* @author Bela Ban
* @author Ben Wang
- * @version $Id: TreeCache.java,v 1.154 2004/08/31 16:15:09 bwang00 Exp $
+ * @version $Id: TreeCache.java,v 1.155 2004/08/31 17:07:44 bwang00 Exp $
* @jmx.mbean extends="org.jboss.system.ServiceMBean"
* <p/>
* todo: emit notifications only on commit. bad case: emit notif about node creation,
@@ -174,8 +174,6 @@
protected String jndi_name=null;
- // lock strategy factory is now per cache instance
- protected LockStrategyFactory lock_strategy_factory = null;
/**
* Queue used to replicate updates when mode is repl-async
*/
@@ -282,14 +280,10 @@
if(props != null)
this.cluster_props=props;
this.state_fetch_timeout=state_fetch_timeout;
-
- init();
}
public TreeCache() throws Exception {
super();
-
- init();
}
/**
@@ -298,12 +292,6 @@
public TreeCache(JChannel channel) throws Exception {
super();
this.channel=channel;
-
- init();
- }
-
- protected void init() {
- lock_strategy_factory = LockStrategyFactory.getInstance();
}
/**
@@ -830,7 +818,7 @@
locking=true;
else
locking=false;
- lock_strategy_factory.setIsolationLevel(level);
+ LockStrategyFactory.setIsolationLevel(level);
}
/**
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic