|
Class calypso.util.SelfTestRWLock
All Packages This Package Class Hierarchy Class Search Index
Class calypso.util.SelfTestRWLock
java.lang.Object
|
+----calypso.util.SelfTestRWLock
class SelfTestRWLock
extends java.lang.Object
{
// Fields 7
static int gThreadCounter;
static Object gThreadCounterLock;
static final int kInvariantRead;
static final int kRead;
static String[] kStateToString;
static final int kWrite;
static final boolean noisy;
// Constructors 1
public SelfTestRWLock();
// Methods 18
static void Enter(RWLock, int) throws InterruptedException;
static void Exit(RWLock, int) throws InterruptedException;
static void ThreadEnter() throws InterruptedException;
static void ThreadExit() throws InterruptedException;
static void ThreadWait() throws InterruptedException;
static void outOfOrderExit0(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit1(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit2(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit3(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit4(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit5(RWLock) throws InterruptedException, SelfTestException;
public static void run() throws SelfTestException;
static void simpleInvariantReadTest(RWLock) throws InterruptedException;
static void simpleInvariantReadWriteTest(RWLock) throws InterruptedException;
static void simpleReadTest(RWLock) throws InterruptedException;
static void simpleReadWriteTest(RWLock) throws InterruptedException;
static void stressTestContention(RWLock) throws SelfTestException, InterruptedException;
static void verifyBlocking(RWLock, int, int) throws SelfTestException, InterruptedException;
// Inner Classes 1
static class RWTestHelper
}
Fields
static final int kRead
static final int kWrite
static final int kInvariantRead
static String[] kStateToString
static Object gThreadCounterLock
static int gThreadCounter
static final boolean noisy
Constructors
public SelfTestRWLock()
Default constructor
Methods
static void simpleReadTest(RWLock aLock) throws InterruptedException
static void simpleReadWriteTest(RWLock aLock) throws InterruptedException
static void simpleInvariantReadTest(RWLock aLock) throws InterruptedException
static void simpleInvariantReadWriteTest(RWLock aLock) throws InterruptedException
static void outOfOrderExit0(RWLock aLock) throws InterruptedException, SelfTestException
static void outOfOrderExit1(RWLock aLock) throws InterruptedException, SelfTestException
static void outOfOrderExit2(RWLock aLock) throws InterruptedException, SelfTestException
static void outOfOrderExit3(RWLock aLock) throws InterruptedException, SelfTestException
static void outOfOrderExit4(RWLock aLock) throws InterruptedException, SelfTestException
static void outOfOrderExit5(RWLock aLock) throws InterruptedException, SelfTestException
public static void run() throws SelfTestException
static void verifyBlocking(RWLock aLock,
int aMe,
int aHelper) throws SelfTestException, InterruptedException
static void stressTestContention(RWLock aLock) throws SelfTestException, InterruptedException
static void ThreadEnter() throws InterruptedException
static void ThreadExit() throws InterruptedException
static void ThreadWait() throws InterruptedException
static void Enter(RWLock aLock,
int aHow) throws InterruptedException
static void Exit(RWLock aLock,
int aHow) throws InterruptedException
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
|