]
Manik Surtani closed JBCACHE-833.
---------------------------------
Fix Version/s: (was: 2.0.0.GA)
Resolution: Rejected
Redundant lock in cache loader
------------------------------
Key: JBCACHE-833
URL:
http://jira.jboss.com/jira/browse/JBCACHE-833
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.0.GA, 1.4.0.SP1
Reporter: Ben Wang
Priority: Minor
Currently in CacheLoader, it calls "lock" from loadIfNeeded method. The
"lock" method in turns invokes
TreeCache.java
public void _lock(Fqn fqn, DataNode.LockType lock_type, boolean recursive)
throws TimeoutException, LockingException
{
log.warn("method _lock() should not be invoked on TreeCache");
}
I think the LockInterceptor should take care of the locking properly. So this call should
be deprecated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: