Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

danielBCN/crucial-executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

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.