K - the type parameterV - the type parameterpublic interface HandleCache<K,V>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cachedHandle(K key,
V value)
Cached selector or rule handle.
|
V |
obtainHandle(K key)
Obtain selector or rule handle.
|
default V |
obtainHandle(K key,
java.util.function.Supplier<V> supplier)
Obtain handle v.
|
void |
removeHandle(K key)
Remove selector or rule handle.
|
default V obtainHandle(K key, java.util.function.Supplier<V> supplier)
key - the keysupplier - the suppliervoid cachedHandle(K key, V value)
key - keyvalue - valuevoid removeHandle(K key)
key - keyCopyright © 2026 The Apache Software Foundation. All rights reserved.