Remote transactions (and locking) via HotRod are not supported in Infinispan 5.3.
infinispan - locking in distributed cache with hot rod, is it possible?
-
27-06-2022 - |
문제
I have to use distributed cache and I would like to use Infinispan 5.3 for that. I examined the different connection modes and I picked hot rod to implement the client-server communication. I also need to lock a specific key in the cache and later after processing to unlock it (the places for locking and unlocking are in different class in my application...).
I read many documents, articles and forum entries regarding the issue but I haven't found any solution so far. If I interpreted properly what I read then it is not possible to lock the key manually in hot rod. I tried to handle the transactions manually but I am not sure how to do that. Perhaps it is not possible in Infinispan 5.3...?
Or can you tell me a different connection mode (instead of hot rod) that can provide me client-server communication and the locking is solved?
Thanks, V.
해결책