I see two options of using EntryProcessor:
1. Pass arguments like this:
cache.invoke(key, new CustomProcessor(), someValue)
2. Pass stateful EntryProcessor like this:
cache.invoke(key, new CustomProcessor(someValue))
Is there any recommendations?
Hello.
As I know it's recommended to use putAll with TreeMap to avoid deadlocks
(is there any other reasons?). If so, how to deal with .withKeepBinary
cache, where you have to provide Map of BinaryObjects, which are not
Comparable, and thus couldn't be put in TreeMap?
Also, why deadlocks could hap