Re: Using EntryProcessor arguments recommendations

2020-02-13 Thread Andrei Aleksandrov
Hi, I suggest to read the documentation: EntryProcessor: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/CacheEntry.html Invoke java doc: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteCache.html#invoke-K-org.apache.ignite.cache.CacheEntryPr

Using EntryProcessor arguments recommendations

2020-02-11 Thread Григорий Доможиров
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?