Package ubic.gemma.core.util.locking
Class FileLockManagerTest
- java.lang.Object
-
- ubic.gemma.core.util.locking.FileLockManagerTest
-
public class FileLockManagerTest extends Object
-
-
Constructor Summary
Constructors Constructor Description FileLockManagerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tearDown()
void
testConcurrent()
void
testGetLockInfo()
void
testReentrant()
void
testSteal()
void
testStealWithPath()
void
testToExclusive()
void
testToShared()
void
testTwoManagers()
-
-
-
Method Detail
-
tearDown
public void tearDown() throws IOException
- Throws:
IOException
-
testGetLockInfo
public void testGetLockInfo() throws IOException
- Throws:
IOException
-
testReentrant
public void testReentrant() throws IOException
- Throws:
IOException
-
testToShared
public void testToShared() throws IOException
- Throws:
IOException
-
testToExclusive
public void testToExclusive() throws IOException
- Throws:
IOException
-
testSteal
public void testSteal() throws IOException
- Throws:
IOException
-
testStealWithPath
public void testStealWithPath() throws IOException
- Throws:
IOException
-
testConcurrent
public void testConcurrent() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
testTwoManagers
public void testTwoManagers() throws IOException
- Throws:
IOException
-
-