Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/main/java/so/dahlgren
README.md
build.gradle

README.md

Locking Strategy Sample

This code is to follow along with the companion blog post.

Requirements

  1. Gradle
  2. JDK of your choice

Building

  $ git clone https://github.com/influenza/blog-snippets.git
  $ cd blog-snippets/Locking
  $ gradle build
  $ java -jar ./build/libs/Locking.jar -accessmethod locks -duration 30 -readerthreads 13 -writerthreads 3