cz.cuni.amis.concurrency
Class Test05_AtomicInc

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

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


Nested Class Summary
static class Test05_AtomicInc.IncValueAsync
           
static class Test05_AtomicInc.IncValueAtomicInt
           
static class Test05_AtomicInc.IncValueSync
           
 
Field Summary
static AtomicInteger atomicValue
           
static CountDownLatch latch
           
static int value
           
static Object valueMutex
           
 
Fields inherited from class cz.cuni.amis.tests.BaseTest
log, NEW_LINE
 
Constructor Summary
Test05_AtomicInc()
           
 
Method Summary
 void testAtomicInt()
           
 
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

valueMutex

public static Object valueMutex

value

public static int value

atomicValue

public static AtomicInteger atomicValue

latch

public static CountDownLatch latch
Constructor Detail

Test05_AtomicInc

public Test05_AtomicInc()
Method Detail

testAtomicInt

public void testAtomicInt()


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