Igniters,
Lets discuss the changes of public API at the IgniteCompute.
The new methods affinityRun & affinityCall is added by working on
IGNITE-2310.
https://issues.apache.org/jira/browse/IGNITE-2310
Please take a look at the signature of the new methods:
https://github.com/gridgain/apache-ignite/commit/991fb60f563ee1630152ca0159d04b4969f883bf#diff-b276b8e6e14915f9e5f2f5daeeddec8a
void affinityRun(@Nullable String cacheName, Object affKey,
IgniteRunnable job, Map<String, int[]> partsToLock)
The parameter Map<String, int[]> partsToLock is added.
Map contains the pairs of the cache name and array of partitions that
must be reserved on the target node before job execution.
Dmitry, colleagues, please comment or approve.
--
Taras Ledkov
Mail-To: tled...@gridgain.com