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
IOException
public void tearDown() throws IOException
IOException
public void testConcurrentCreateDelete() throws Exception
Exception
public void testSimpleTableOpsQueues() throws Exception
Exception
public void testCreateDeleteTableOperationsWithWriteLock() throws Exception
Exception
public void testCreateDeleteTableOperationsWithReadLock() throws Exception
Exception
public void testVerifyRwLocks() throws Exception
Exception