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?
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?