public final class ServerPrepareStatementCache extends LinkedHashMap<String,ServerPrepareResult>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
static ServerPrepareStatementCache |
newInstance(int size,
Protocol protocol) |
ServerPrepareResult |
put(String key,
ServerPrepareResult result)
Associates the specified value with the specified key in this map.
|
boolean |
removeEldestEntry(Map.Entry eldest)
Remove eldestEntry.
|
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic static ServerPrepareStatementCache newInstance(int size, Protocol protocol)
public boolean removeEldestEntry(Map.Entry eldest)
removeEldestEntry in class LinkedHashMap<String,ServerPrepareResult>eldest - eldest entrypublic ServerPrepareResult put(String key, ServerPrepareResult result)
put in interface Map<String,ServerPrepareResult>put in class HashMap<String,ServerPrepareResult>key - keyresult - new prepare result.public String toString()
toString in class AbstractMap<String,ServerPrepareResult>Copyright © 2019 mariadb.org. All rights reserved.