ERXECLockingTestCase Class Reference

Inherits er::erxtest::ERXTestCase.

Collaboration diagram for ERXECLockingTestCase:

Collaboration graph
[legend]

List of all members.

Classes

class  EC

Public Member Functions

void test ()
void testPlainOneThreadAutoLocking ()
void testPlainOneThreadAutoLockingCoalesceInRequest ()
void testPlainOneThreadAutoLockingCoalesceNotInRequest ()
void testPlainOneThreadAutoLockingWithLock ()
void testPlainOneThreadLocking ()
void testTwoThreadWithAutoLock ()
void testTwoThreadWithAutoLockLock ()
void testTwoThreadWithLock ()
void testTwoThreadWithLockAutoLock ()

Static Public Attributes

static final Logger log = Logger.getLogger(ERXECLockingTestCase.class)

Static Protected Member Functions

static Object call (Callable<?extends Object > aCallable, long timeout) throws TimeoutException

Static Package Attributes

static ExecutorService executor = Executors.newCachedThreadPool()

Private Member Functions

void assertLockable (final EC ec)
void assertNotLockable (EC ec)
EC createEC ()
boolean isLockable (final EC ec)

Static Private Attributes

static final long JOIN_TIME = 2000L


Member Function Documentation

void assertLockable ( final EC  ec  )  [private]

void assertNotLockable ( EC  ec  )  [private]

static Object call ( Callable<?extends Object >  aCallable,
long  timeout 
) throws TimeoutException [static, protected]

EC createEC (  )  [private]

boolean isLockable ( final EC  ec  )  [private]

void test (  ) 

void testPlainOneThreadAutoLocking (  ) 

void testPlainOneThreadAutoLockingCoalesceInRequest (  ) 

void testPlainOneThreadAutoLockingCoalesceNotInRequest (  ) 

void testPlainOneThreadAutoLockingWithLock (  ) 

void testPlainOneThreadLocking (  ) 

void testTwoThreadWithAutoLock (  ) 

void testTwoThreadWithAutoLockLock (  ) 

void testTwoThreadWithLock (  ) 

void testTwoThreadWithLockAutoLock (  ) 


Member Data Documentation

ExecutorService executor = Executors.newCachedThreadPool() [static, package]

final long JOIN_TIME = 2000L [static, private]

final Logger log = Logger.getLogger(ERXECLockingTestCase.class) [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:00 2012 for Project Wonder by  doxygen 1.5.8