|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.tests.BaseTest cz.cuni.amis.concurrency.Test09_ReadWriteLock
public class Test09_ReadWriteLock
Nested Class Summary | |
---|---|
class |
Test09_ReadWriteLock.IncReadDecValueAsync
|
Field Summary | |
---|---|
AtomicBoolean |
alone
|
static int |
bogus
|
CountDownLatch |
latch
|
ReadWriteLock |
lock
|
Lock |
readLock
|
static int |
value
|
Lock |
writeLock
|
Fields inherited from class cz.cuni.amis.tests.BaseTest |
---|
log, NEW_LINE |
Constructor Summary | |
---|---|
Test09_ReadWriteLock()
|
Method Summary | |
---|---|
static void |
main(String[] args)
|
void |
test()
|
Methods inherited from class cz.cuni.amis.tests.BaseTest |
---|
afterTest, assertFail, assertFalse, assertTrue, baseTestBeforeClass, beforeTest, getLogLevel, is32Bit, is64Bit, isLinux, isMac, isWindows, log, process, process, testFailed, testFailed, testOk |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int bogus
public CountDownLatch latch
public static volatile int value
public AtomicBoolean alone
public ReadWriteLock lock
public Lock readLock
public Lock writeLock
Constructor Detail |
---|
public Test09_ReadWriteLock()
Method Detail |
---|
public void test()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |