public class Bug38741DUnitTest extends BridgeTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
Bug38741DUnitTest.SerializationCountingKey |
static class |
Bug38741DUnitTest.SerializationCountingValue |
BridgeTestCase.BridgeServerCacheLoaderDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2AUTO_LOAD_BALANCE, BridgeServerKey, NON_EXISTENT_KEYcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
Bug38741DUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getDistributedSystemProperties()
Returns a
Properties object used to configure a
connection to a DistributedSystem. |
protected com.gemstone.gemfire.cache.RegionAttributes |
getRegionAttributes()
Returns region attributes for a
LOCAL region |
void |
testCopyOnReadWithBridgeServer()
Test that CopyOnRead doesn't cause
HARegionQueue.peek() to create a copy,
assuming that creating copies performs a serialize and de-serialize operation. |
void |
testPartitionedRegionAndCopyOnRead()
Test to ensure that a PartitionedRegion doesn't make more than the
expected number of copies when copy-on-read is set to true
|
caseSetUp, caseTearDown, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPoolWithName, configureConnectionPoolWithName, configureConnectionPoolWithNameAndFactory, configureConnectionPoolWithNameAndFactory, createBridgeClientConnection, createBridgeServer, createUniquePorts, getDistributedMember, getMaxThreads, getMemberId, getSystemProperties, startBridgeServer, stopBridgeServersaddExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAll, tearDown2addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, dumpAllStacks, dumpMyThreads, dumpStack, dumpStack, dumpStack, dumpStackTrace, fail, getAllDistributedSystemProperties, 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, setUp, 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 Bug38741DUnitTest(String name)
protected com.gemstone.gemfire.cache.RegionAttributes getRegionAttributes()
BridgeTestCaseLOCAL regiongetRegionAttributes in class BridgeTestCasepublic void testCopyOnReadWithBridgeServer()
throws Exception
HARegionQueue.peek() to create a copy,
assuming that creating copies performs a serialize and de-serialize operation.Exception - when there is a failurepublic void testPartitionedRegionAndCopyOnRead()
throws Exception
Exceptionpublic Properties getDistributedSystemProperties()
DistributedTestCaseProperties object used to configure a
connection to a DistributedSystem.
Unless overridden, this method will return an empty
Properties object.getDistributedSystemProperties in class DistributedTestCaseCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.