cz.cuni.amis.concurrency
Class Test09_ReadWriteLock

Package class diagram package Test09_ReadWriteLock
java.lang.Object
  extended by cz.cuni.amis.tests.BaseTest
      extended by cz.cuni.amis.concurrency.Test09_ReadWriteLock

public class Test09_ReadWriteLock
extends cz.cuni.amis.tests.BaseTest


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

bogus

public static int bogus

latch

public CountDownLatch latch

value

public static volatile int value

alone

public AtomicBoolean alone

lock

public ReadWriteLock lock

readLock

public Lock readLock

writeLock

public Lock writeLock
Constructor Detail

Test09_ReadWriteLock

public Test09_ReadWriteLock()
Method Detail

test

public void test()

main

public static void main(String[] args)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.