MySQL Connector/J size='-1'>5.0.8

com.mysql.jdbc.util
Class LRUCache

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byjava.util.LinkedHashMap
              extended bycom.mysql.jdbc.util.LRUCache
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class LRUCache
extends java.util.LinkedHashMap

Version:
$Id: LRUCache.java 4161 2005-08-30 19:14:01Z eherman $
Author:
Mark Matthews
See Also:
Serialized Form

Field Summary
protected  int maxElements
           
 
Constructor Summary
LRUCache(int maxSize)
           
 
Method Summary
protected  boolean removeEldestEntry(java.util.Map.Entry eldest)
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

maxElements

protected int maxElements
Constructor Detail

LRUCache

public LRUCache(int maxSize)
Method Detail

removeEldestEntry

protected boolean removeEldestEntry(java.util.Map.Entry eldest)

MySQL Connector/J size='-1'>5.0.8