more efficient exists() in JDBCCacheLoader and FileCacheLoader
--------------------------------------------------------------
Key: JBCACHE-1414
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1414
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Cache loaders
Affects Versions: 2.2.0.GA
Reporter: Manik Surtani
Assignee: Manik Surtani
Fix For: 3.0.0.CR1, 3.0.0.GA, 2.X
exists() in both these cache loaders loads the node and then tests if the result is null.
Hugely inefficient since it would involve byte stream deserialization.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira