public class TxnManagerMultiThreadDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static com.gemstone.gemfire.cache.Cache |
cache |
static com.gemstone.gemfire.distributed.DistributedSystem |
ds |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
TxnManagerMultiThreadDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
_test3Commit2Rollback() |
static void |
_testAllCommit() |
static void |
callCommitandRollbackThreads() |
static void |
callCommitThreads() |
static void |
closeCache() |
static void |
createTable(String tblName) |
static void |
delRows() |
static void |
destroyTable(String tblName) |
static com.gemstone.gemfire.cache.Cache |
getCache() |
static void |
getNumberOfRows() |
static String |
init(String className) |
void |
setUp()
Sets up the test (noop).
|
static void |
startCache() |
void |
tearDown2()
Tears down the test.
|
void |
testFoo() |
addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, dumpAllStacks, dumpMyThreads, dumpStack, dumpStack, dumpStack, dumpStackTrace, fail, getAllDistributedSystemProperties, getDistributedSystemProperties, getDUnitLocatorAddress, getDUnitLocatorPort, getDUnitLocatorString, getDUnitLogLevel, getIPLiteral, getLogWriter, getLonerSystem, getMcastSystem, getMcastSystem, getRepeatTimeoutMs, getServerHostName, getSystem, getSystem, getTestClass, getTestName, getUniqueName, getVMCount, incBBFlag, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVMRepeatingIfNecessary, invokeInLocator, invokeRepeatingIfNecessary, isConnectedToDS, join, noteTiming, pause, pause, perVMSetUp, realTearDown, setDiskStoreForGateway, setSystem, setTestName, staticPause, tearDown, unregisterAllDataSerializersFromAllVms, unregisterDataSerializerInThisVM, unregisterInstantiatorsInThisVM, waitForBBFlag, waitForCriterion, waitMutexassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic static com.gemstone.gemfire.distributed.DistributedSystem ds
public static com.gemstone.gemfire.cache.Cache cache
public TxnManagerMultiThreadDUnitTest(String name)
public static void createTable(String tblName) throws NamingException, SQLException
NamingExceptionSQLExceptionpublic static void destroyTable(String tblName) throws NamingException, SQLException
NamingExceptionSQLExceptionpublic static com.gemstone.gemfire.cache.Cache getCache()
public static void startCache()
public static void closeCache()
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void delRows()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic static void getNumberOfRows()
public static void callCommitThreads()
public static void callCommitandRollbackThreads()
public void testFoo()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.