public class PrepareCache extends LinkedHashMap<String,ServerPrepareResult>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PrepareCache(int size,
org.mariadb.r2dbc.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
ServerPrepareResult |
put(String key,
ServerPrepareResult result) |
boolean |
removeEldestEntry(Map.Entry<String,ServerPrepareResult> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic PrepareCache(int size,
org.mariadb.r2dbc.client.Client client)
public boolean removeEldestEntry(Map.Entry<String,ServerPrepareResult> eldest)
removeEldestEntry in class LinkedHashMap<String,ServerPrepareResult>public ServerPrepareResult put(String key, ServerPrepareResult result)
put in interface Map<String,ServerPrepareResult>put in class HashMap<String,ServerPrepareResult>Copyright © 2020 MariaDB Corporation Ab. All rights reserved.