Hi, 

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;


@ComputeTaskName("Transaction")
class Transaction implements IgniteRunnable {

    @Override
    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.

Reply via email to