File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
hibernate-core/src/main/java/org/hibernate/internal/util/cache Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,12 @@ public interface InternalCache<K, V> {
2727 /**
2828 * Attempt to read from the cache. Will return null on cache miss.
2929 * It would typically be better to use {@link #computeIfAbsent(Object, Function)} instead.
30- * @param key
31- * @return
3230 */
3331 V get (K key );
3432
3533 /**
3634 * Stores a key/value pair into the cache. Storage is not guaranteed, as the implementation
3735 * has liberty to cap internal storage or use various eviction strategies.
38- * @param key
39- * @param value
4036 */
4137 void put (K key , V value );
4238
@@ -55,7 +51,6 @@ public interface InternalCache<K, V> {
5551 * the general pattern of "try to read, or produce a value and then cache it" but avoiding
5652 * efficiency issues that would be caused by accessing the cache multiple times, not least
5753 * potentially a cache stampede, and concurrent need for generating the same value.
58- * @param key
5954 * @param mappingFunction This function will be invoked to produce the value, and store it,
6055 * if a matching existing value couldn't be loaded from the cache.
6156 * @return Either the existing value, or the return from the provided function.
You can’t perform that action at this time.
0 commit comments