diff --git a/@here/olp-sdk-core/lib/cache/LRUCache.ts b/@here/olp-sdk-core/lib/cache/LRUCache.ts index 7965ad98..60d91d27 100644 --- a/@here/olp-sdk-core/lib/cache/LRUCache.ts +++ b/@here/olp-sdk-core/lib/cache/LRUCache.ts @@ -194,6 +194,13 @@ export class LRUCache { this.promoteEntry(entry); return entry.value; } + + /** + * @returns List of all the keys stored in the cache + */ + getAllKeys(): MapIterator { + return this.map.keys() + } /** * Clears the cache and removes all stored key-value pairs.