We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 157678f commit a2adea9Copy full SHA for a2adea9
src/main/java/org/dataloader/CacheKey.java
@@ -36,6 +36,15 @@ public interface CacheKey<K> {
36
*/
37
Object getKey(K input);
38
39
+ /**
40
+ * Returns the cache key that is created from the provided input key and context.
41
+ *
42
+ * @param input the input key
43
44
+ * @param context the context
45
46
+ * @return the cache key
47
+ */
48
default Object getKeyWithContext(K input, Object context) {
49
return getKey(input);
50
}
0 commit comments