Class NewSyncLockingTest

    • Constructor Detail

      • NewSyncLockingTest

        public NewSyncLockingTest()
    • Method Detail

      • setUp

        public void setUp()
      • testLocking

        public void testLocking()
      • testArrayBasedLocking

        public void testArrayBasedLocking()
                                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testMapBasedLocking

        public void testMapBasedLocking()
                                 throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • simulateLocking

        protected void simulateLocking​(WorkerItemLockHolder lockHolder)
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • assertAllUnlocked

        protected void assertAllUnlocked()