This content has been marked as final.
Show 1 reply
-
1. Re: Using the KeyAffinityService, how to be able to do cache.get(...) when I dont control the keys?
mircea.markus Apr 30, 2014 10:43 AM (in response to jakob.skwarski)1 of 1 people found this helpfulYou'd normally ask the KeyAffinityService (KAF) for a key and then use that (synthetic) key for accessing data (session Ids in clustering web sessions is a classic use case fro KAS).
If you want to encapsulate some semantics in the generated keys, you can pass a KeyGenerator to the KAS service.