Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 701 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 701 Bytes

Crucial Executor

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.

ServerlessExecutorService