public final class ServerPrepareStatementCache extends LinkedHashMap<String,ServerPrepareResult>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 限定符和类型 | 方法和说明 |
|---|---|
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, hashCodecompute, 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 在类中 LinkedHashMap<String,ServerPrepareResult>eldest - eldest entrypublic ServerPrepareResult put(String key, ServerPrepareResult result)
put 在接口中 Map<String,ServerPrepareResult>put 在类中 HashMap<String,ServerPrepareResult>key - keyresult - new prepare result.public String toString()
toString 在类中 AbstractMap<String,ServerPrepareResult>Copyright © 2024 oceanbase.com. All rights reserved.