public class TestMasterProcedureQueue extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestMasterProcedureQueue.TestTableProcedure  | 
static class  | 
TestMasterProcedureQueue.TestTableProcSet  | 
| Constructor and Description | 
|---|
TestMasterProcedureQueue()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
setUp()  | 
void | 
tearDown()  | 
void | 
testConcurrentCreateDelete()  | 
void | 
testConcurrentWriteOps()
Verify that "write" operations for a single table are serialized,
 but different tables can be executed in parallel. 
 | 
void | 
testCreateDeleteTableOperationsWithReadLock()
Check that the table queue is not deletable until every procedure
 in-progress is completed (this is a special case for read-locks). 
 | 
void | 
testCreateDeleteTableOperationsWithWriteLock()
Check that the table queue is not deletable until every procedure
 in-progress is completed (this is a special case for write-locks). 
 | 
void | 
testSimpleTableOpsQueues()
Verify simple create/insert/fetch/delete of the table queue. 
 | 
void | 
testVerifyRwLocks()
Verify the correct logic of RWLocks on the queue 
 | 
public void setUp()
           throws IOException
IOExceptionpublic void tearDown()
              throws IOException
IOExceptionpublic void testConcurrentCreateDelete()
                                throws Exception
Exceptionpublic void testSimpleTableOpsQueues()
                              throws Exception
Exceptionpublic void testCreateDeleteTableOperationsWithWriteLock()
                                                  throws Exception
Exceptionpublic void testCreateDeleteTableOperationsWithReadLock()
                                                 throws Exception
Exceptionpublic void testVerifyRwLocks()
                       throws Exception
Exception