org.mariadb.jdbc.internal.util
Class ClientPrepareStatementCache

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,ClientPrepareResult>
              extended by org.mariadb.jdbc.internal.util.ClientPrepareStatementCache
All Implemented Interfaces:
Serializable, Cloneable, Map<String,ClientPrepareResult>

public final class ClientPrepareStatementCache
extends LinkedHashMap<String,ClientPrepareResult>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Method Summary
static ClientPrepareStatementCache newInstance(int size)
           
protected  boolean removeEldestEntry(Map.Entry<String,ClientPrepareResult> eldest)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

newInstance

public static ClientPrepareStatementCache newInstance(int size)

removeEldestEntry

protected boolean removeEldestEntry(Map.Entry<String,ClientPrepareResult> eldest)
Overrides:
removeEldestEntry in class LinkedHashMap<String,ClientPrepareResult>

toString

public String toString()
Overrides:
toString in class AbstractMap<String,ClientPrepareResult>


Copyright © 2017. All rights reserved.