ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khurram <khurram.b...@bookmyshow.com>
Subject Re: How to create a compute tasks which uses Cache and transaction?
Date Tue, 06 Jun 2017 11:43:39 GMT

I tried to run following class as tasks and it's saying no tasks found. 

package load;
import org.apache.ignite.lang.IgniteRunnable;
import org.apache.ignite.compute.ComputeTaskName;

class Transaction implements IgniteRunnable {

    public void run() {
        System.out.println("Hello World");

What's the problem in above sample? Also how to pass arguments in class?
Using constructor?

Thanks and regards,
Khurram Baig

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

View raw message