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(java.lang.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(java.lang.String tblName) |
static void |
delRows() |
static void |
destroyTable(java.lang.String tblName) |
static com.gemstone.gemfire.cache.Cache |
getCache() |
static void |
getNumberOfRows() |
static java.lang.String |
init(java.lang.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(java.lang.String name)
public static java.lang.String init(java.lang.String className)
throws java.lang.Exception
java.lang.Exceptionpublic static void createTable(java.lang.String tblName)
throws javax.naming.NamingException,
java.sql.SQLException
javax.naming.NamingExceptionjava.sql.SQLExceptionpublic static void destroyTable(java.lang.String tblName)
throws javax.naming.NamingException,
java.sql.SQLException
javax.naming.NamingExceptionjava.sql.SQLExceptionpublic static com.gemstone.gemfire.cache.Cache getCache()
public static void startCache()
public static void closeCache()
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic static void delRows()
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic static void getNumberOfRows()
public static void _testAllCommit()
throws java.lang.Throwable
java.lang.Throwablepublic static void callCommitThreads()
public static void _test3Commit2Rollback()
throws java.lang.Throwable
java.lang.Throwablepublic static void callCommitandRollbackThreads()
public void testFoo()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.