Executor abstractions for the CRUCIAL
project.
This project includes the abstraction of CloudThread that allows
running Java Runnables in the cloud on FaaS platforms (currently AWS Lambda).
The CloudThread class requires some configuration depending on your
AWS Lambda deployment.
See the examples for more
information.
The basic usage is that of Java threads:
Thread t = new CloudThread(new MyRunnable());
t.start();
t.join();You can simulate the execution with a local thread with t.setLocal(true)
before starting the CloudThread.