Skip to content

Commit a2adea9

Browse files
committed
Add JavaDoc
1 parent 157678f commit a2adea9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/org/dataloader/CacheKey.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ public interface CacheKey<K> {
3636
*/
3737
Object getKey(K input);
3838

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+
*/
3948
default Object getKeyWithContext(K input, Object context) {
4049
return getKey(input);
4150
}

0 commit comments

Comments
 (0)