public class LocksTableTest extends BaseUnitTest
| 构造器和说明 |
|---|
LocksTableTest() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static void |
destroyLockGroup(String graph,
String group) |
protected static void |
genLockGroup(String graph,
String group) |
protected static String |
groupName(String graph,
String group) |
void |
initLockTable() |
static void |
setup() |
static void |
teardown() |
void |
testLocksTable() |
void |
testLocksTableDifferentGroupDifferentLocks() |
void |
testLocksTableSameGroupDifferentLocks() |
void |
testLocksTableWithLockKey() |
void |
testLockTableSameLock1MillionTimes() |
void |
testLockWithMultiThreads() |
void |
testSameLockWithMultiThreads() |
clear, init, runWithThreads, waitTillNextpublic static void setup()
public void initLockTable()
public static void teardown()
public void testLocksTable()
public void testLocksTableWithLockKey()
public void testLocksTableSameGroupDifferentLocks()
public void testLocksTableDifferentGroupDifferentLocks()
public void testLockTableSameLock1MillionTimes()
public void testLockWithMultiThreads()
public void testSameLockWithMultiThreads()
Copyright © 2017–2021. All rights reserved.