This content has been marked as final.
Show 2 replies
-
1. Re: Cluster Configuration
william.burns Nov 18, 2014 7:48 AM (in response to mvpratap)You can use the KeyAffinityService [1] just for that. Note however that if a rehash occurs this can change the key locality.
-
2. Re: Cluster Configuration
mvpratap Nov 20, 2014 3:00 AM (in response to william.burns)Thanks for reply,
But keyAffinityService will give key in the form of long value..
But i want to store key as a user defined string..
Object localKey = keyAffinityService.getKeyForAddress(cacheManager.getAddress());
here localKey is long datatype..