I'm using Chronicle V4 proxy API to convert a message into a function call.
When myMethod(Thing a)
is invoked after a readOne()
call, the 'a'
object instance ID is the same each time but the content has the latest state.
Imagine:
readOne();
readOne();
Methods fired:
myMethod(Thing a)
myMethod(Thing a)
The second call with param 'a'
now with different state overrides any previous caches version of 'a'
in say a hashmap in memory, because the java object instance ID is the same one when myMethod was invoked initially.
I'm hoping this is some odd in my setup - be good to know if this is by design or just an issue my end.