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> {
27
27
/**
28
28
* Attempt to read from the cache. Will return null on cache miss.
29
29
* It would typically be better to use {@link #computeIfAbsent(Object, Function)} instead.
30
- * @param key
31
- * @return
32
30
*/
33
31
V get (K key );
34
32
35
33
/**
36
34
* Stores a key/value pair into the cache. Storage is not guaranteed, as the implementation
37
35
* has liberty to cap internal storage or use various eviction strategies.
38
- * @param key
39
- * @param value
40
36
*/
41
37
void put (K key , V value );
42
38
@@ -55,7 +51,6 @@ public interface InternalCache<K, V> {
55
51
* the general pattern of "try to read, or produce a value and then cache it" but avoiding
56
52
* efficiency issues that would be caused by accessing the cache multiple times, not least
57
53
* potentially a cache stampede, and concurrent need for generating the same value.
58
- * @param key
59
54
* @param mappingFunction This function will be invoked to produce the value, and store it,
60
55
* if a matching existing value couldn't be loaded from the cache.
61
56
* @return Either the existing value, or the return from the provided function.
You can’t perform that action at this time.
0 commit comments