Package org.enhydra.jdbc.util

Examples of org.enhydra.jdbc.util.LRUCache


   */
  void returnToCache(Object key, Connection theCon) {
    Object value = inUse.remove(key);
    // remove key/value from used statements
    if (value != null) {
      LRUCache theCache =
        (LRUCache) masterPrepStmtCache.get(theCon.toString());
      theCache.put(key, value); // place back in cache, ready for re-use
    }
  }
View Full Code Here


   */
  void returnToCache(Object key, Connection theCon) {
    Object value = inUse.remove(key);
    // remove key/value from used statements
    if (value != null) {
      LRUCache theCache =
        (LRUCache) masterPrepStmtCache.get(theCon.toString());
      theCache.put(key, value); // place back in cache, ready for re-use
    }
  }
View Full Code Here

   */
  void returnToCache(Object key, Connection theCon) {
    Object value = inUse.remove(key);
    // remove key/value from used statements
    if (value != null) {
      LRUCache theCache =
        (LRUCache) masterPrepStmtCache.get(theCon.toString());
      theCache.put(key, value); // place back in cache, ready for re-use
    }
  }
View Full Code Here

TOP

Related Classes of org.enhydra.jdbc.util.LRUCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.