Class LockingUtils


  • public class LockingUtils
    extends Object
    Based on http://tutorials.jenkov.com/java-concurrency/read-write-locks.html#simple

    Allows for multiple writers.

    • Constructor Detail

      • LockingUtils

        public LockingUtils()
    • Method Detail

      • readLocking

        public static void readLocking​(Runnable c)
      • writeLocking

        public static void writeLocking​(Runnable c)