|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
org.javaseis.io.test.JTestSeisLock
public class JTestSeisLock
Test the file capability for locking the properties files when new extents are added.
| Nested Class Summary | |
|---|---|
(package private) class |
JTestSeisLock.Helper
|
| Field Summary | |
|---|---|
(package private) java.lang.String |
_path
|
| Constructor Summary | |
|---|---|
JTestSeisLock()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testAsynchronous()
Use multple threads to simulate locking/unlocking of the file from multple nodes in the same job or multiple jobs. |
void |
testSynchronous()
Lock and increment a counter in a properties file in a single thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String _path
| Constructor Detail |
|---|
public JTestSeisLock()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
java.lang.Exception
public void testAsynchronous()
throws java.lang.Exception
java.lang.Exception
public void testSynchronous()
throws SeisException,
java.lang.Exception
SeisException
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||