Package ubic.gemma.core.util.locking
Class ReadWriteFileLockTest
java.lang.Object
ubic.gemma.core.util.locking.ReadWriteFileLockTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtest()voidvoidLocks are not allowed to overlap within the same JVM.voidvoid
-
Constructor Details
-
ReadWriteFileLockTest
public ReadWriteFileLockTest()
-
-
Method Details
-
test
- Throws:
IOExceptionInterruptedException
-
testOverlappingLocks
Locks are not allowed to overlap within the same JVM.- Throws:
IOException
-
testConcurrentReadWriteAccess
- Throws:
IOExceptionInterruptedException
-
testReentrantLocking
- Throws:
IOException
-
testReentrantLockingWithConcurrency
- Throws:
IOExceptionInterruptedException
-