Hi,

First of all, Java task class should be available on server, then you'll be
able to run the task using it's class name [1].
In that task you may access cache with transaction using standard Ignite
Java API [2].

You need start server only once, and then invoke task as many times as you
want.

[1] https://apacheignite.readme.io/v1.8/docs/rest-api#execute
[2] https://apacheignite.readme.io/v1.8/docs/transactions

Thanks!
-Dmitry.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-create-a-compute-tasks-which-uses-Cache-and-transaction-tp13339p13361.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to