sk.baka.tools.concurrent
Class EffectivePutMapTest

java.lang.Object
  extended by sk.baka.tools.concurrent.EffectivePutMapTest

public class EffectivePutMapTest
extends Object

Tests the EffectivePutMap.

Author:
Martin Vysny

Constructor Summary
EffectivePutMapTest()
           
 
Method Summary
 void clear()
           
 void createExecutor()
           
 void destroyExecutor()
           
 void putThrowsIllegalArgExOnNullValue()
           
 void simpleSingleThreadPut()
           
 void testForConsistentObjectRetrievalWithASingleID()
           
 void testForConsistentObjectRetrievalWithEvenlyDistributedID()
           
 void testForConsistentObjectRetrievalWithOneIdPerRunnable()
           
 void testForConsistentPutRemoveWithASingleID()
           
 void testForConsistentPutRemoveWithEvenlyDistributedID()
           
 void testForConsistentPutRemoveWithOneIdPerRunnable()
           
 void testPutToEffectiveMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EffectivePutMapTest

public EffectivePutMapTest()
Method Detail

createExecutor

public void createExecutor()

destroyExecutor

public void destroyExecutor()
                     throws InterruptedException
Throws:
InterruptedException

simpleSingleThreadPut

public void simpleSingleThreadPut()
                           throws Exception
Throws:
Exception

testPutToEffectiveMap

public void testPutToEffectiveMap()

testForConsistentObjectRetrievalWithEvenlyDistributedID

public void testForConsistentObjectRetrievalWithEvenlyDistributedID()
                                                             throws Exception
Throws:
Exception

testForConsistentObjectRetrievalWithASingleID

public void testForConsistentObjectRetrievalWithASingleID()
                                                   throws Exception
Throws:
Exception

testForConsistentObjectRetrievalWithOneIdPerRunnable

public void testForConsistentObjectRetrievalWithOneIdPerRunnable()
                                                          throws Exception
Throws:
Exception

testForConsistentPutRemoveWithEvenlyDistributedID

public void testForConsistentPutRemoveWithEvenlyDistributedID()
                                                       throws Exception
Throws:
Exception

testForConsistentPutRemoveWithASingleID

public void testForConsistentPutRemoveWithASingleID()
                                             throws Exception
Throws:
Exception

testForConsistentPutRemoveWithOneIdPerRunnable

public void testForConsistentPutRemoveWithOneIdPerRunnable()
                                                    throws Exception
Throws:
Exception

putThrowsIllegalArgExOnNullValue

public void putThrowsIllegalArgExOnNullValue()

clear

public void clear()


Copyright © 2009-2010. All Rights Reserved.