Skip to content

CrispOSS/crisp-lambda

Repository files navigation

Crisp Lambda

Crisp Lambda is an implementation of actor model using Java 8 lambda expressions.

Build

Crisp Lambda uses Gradle as its build tool. To build the source code:

./gradlew build

It configures and downloads Gradle if necessary and then builds the project.

Examples

As an example a ping-pong model of actors is provided in the example package of the source. There are two examples with two different approaches of concurrency using Crisp Lambda API.

  1. DedicatedThreadExample that uses a dedicated thread ownership to execute actor's messages.
  2. SharedThreadPoolExample that uses a shared pool of threads and shared message queue to execute actor's messages.

To run the examples, edit build.gradle and choose the main class, then:

./gradlew run

About

Actor model in Java 8 Lambda Expressions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published