public class GlobalRegionCCEDUnitTest extends GlobalRegionTest
DistributedAckRegionCCEDUnitTest.MultiVMRegionTestCase.MyTransactionListenerRegionTestCase.TestExpiryDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2CCRegioneventCount, preSnapshotRegioncachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
GlobalRegionCCEDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
do_version_recovery_if_necessary(VM vm0,
VM vm1,
VM vm2,
Object[] params) |
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
GLOBAL region |
protected com.gemstone.gemfire.cache.RegionAttributes |
getRegionAttributes(String type)
return the region attributes for the given type of region.
|
protected boolean |
supportsTransactions()
Indicate whether this region supports transactions
|
void |
testConcurrentEvents()
This tests the concurrency versioning system to ensure that event
conflation happens correctly and that the statistic is being updated
properly
|
void |
testConcurrentEventsOnEmptyRegion()
This tests the concurrency versioning system to ensure that event
conflation happens correctly and that the statistic is being updated
properly
|
void |
testConcurrentEventsOnNonReplicatedRegion()
This tests the concurrency versioning system to ensure that event
conflation happens correctly and that the statistic is being updated
properly
|
void |
testEntryTtlLocalDestroy()
Tests that an entry in a distributed region expires with a local
destroy after a given time to live.
|
void |
testGetAllWithVersions() |
void |
testGIISendsTombstones()
This test creates a server cache in vm0 and a peer cache in vm1.
|
void |
testLocalDestroy()
Tests that a Region.localDestroy(java.lang.Object) does not effect
other VMs that define that entry.
|
void |
testRegionVersionVectors() |
void |
testTombstoneExpirationRace()
make sure that an operation performed on a new region entry created after a
tombstone has been reaped is accepted by another member that has yet to
reap the tombstone
|
void |
testTombstones() |
testIncompatibleSubregions, testPutGetTimeout, testRemoteFetch, testSynchronousIncrements_ttestOrderedUpdates, assertCacheCallbackEvents, assertNoClearTimeouts, clearCCRegion, concurrentMapTest, createRegionWithAttribute, DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testTXNonblockingGetInitialImage, disconnect, doOpsLoopNoFlush, getCCRegionContents, getCCRegionVersions, getCCRegionVersionVector, getMemberId, performOps4ClearWithConcurrentEvents, supportsNetLoad, supportsReplication, tearDown2, testCacheLoaderModifyingArgument, testCacheLoaderWithNetLoad, testCacheLoaderWithNetSearch, testConcurrentOperations, testDefinedEntryUpdated, testDeltaWithReplicate, testDistributedDestroy, testDistributedGet, testDistributedInvalidate, testDistributedInvalidate4, testDistributedPut, testDistributedPutNoUpdate, testDistributedRegionDestroy, testDistributedRegionInvalidate, testDistributedUpdate, testEntryTtlDestroyEvent, testGetInitialImage, testLargeGetInitialImage, testLocalAndRemoteCacheWriters, testLocalCacheLoader, testLocalRegionDestroy, testMirroredDataFromNonMirrored, testMirroredLocalLoad, testMirroredNetLoad, testNBRegionDestructionDuringGetInitialImage, testNBRegionInvalidationDuringGetInitialImage, testNetSearchObservesIdleTime, testNetSearchObservesTtl, testNoDataSerializer, testNoInstantiator, testNoLoaderWithInvalidEntry, testNoMirroredDataToNonMirrored, testNonblockingGetInitialImage, testNoRegionKeepAlive, testNoRemoteCacheLoader, testRemoteCacheListener, testRemoteCacheListenerInSubregion, testRemoteCacheLoader, testRemoteCacheLoaderArg, testRemoteCacheLoaderException, testRemoteCacheWriter, testRemoteLoaderNetSearch, testReplicate, testTXMultiRegion, testTXRmtMirror, testTXSimpleOps, testTXUpdateLoadNoConflict, testUpdateResetsIdleTime, todo_testTXAlgebra, versionTestClearOnNonReplicateWithConcurrentEvents, versionTestClearWithConcurrentEvents, versionTestClearWithConcurrentEventsAsync, versionTestConcurrentEvents, versionTestConcurrentEventsOnEmptyRegion, versionTestConcurrentEventsOnNonReplicatedRegion, versionTestGetAllWithVersions, versionTestGIISendsTombstones, versionTestRegionVersionVectors, versionTestTombstones, waitForAsyncProcessing, z_versionTestClearWithConcurrentEventscreateRegion, createRootRegion, entryIsLocal, pauseIfNecessary, pauseIfNecessary, remoteTestPostSnapshot, supportsLocalDestroyAndLocalInvalidate, supportsSubregions, testBadRegionAccess, testCloseRegion, testContainsKey, testCreateSubregions, testCustomEntryIdleReset, testCustomEntryIdleTimeout1, testCustomEntryIdleTimeout2, testCustomEntryIdleTimeout3, testCustomEntryTtl1, testCustomEntryTtl2, testCustomEntryTtl3, testCustomIdleOnce, testDestroyEntry, testDestroyRegion, testEntries, testEntriesRecursive, testEntryExpirationAfterMutate, testEntryFromLoadTtlInvalidate, testEntryIdleDestroy, testEntryIdleInvalidate, testEntryIdleReset, testEntryIdleTimeout3, testEntryIdleTtl, testEntryTtl3, testEntryTtlDestroy, testEntryTtlInvalidate, testEntryUserAttribute, testGetCache, testGetName, testGetParentRegion, testGetPathFromRoot, testInvalidateEntry, testInvalidateRegion, testKeys, testLocalDestroyEntry, testLocalDestroyRegion, testLocalInvalidateEntry, testLocalInvalidateRegion, testNulls, testPutNonExistentEntry, testRegionExpirationAfterMutate, testRegionIdleDestroy, testRegionIdleInvalidate, testRegionTtlDestroy, testRegionTtlInvalidate, testRegionUserAttribute, testRootSnapshot, testSnapshot, testSubregions, testSubregionsRecursive, testValues, waitForDestroy, waitForInvalidate, waitForRegionDestroyaddExceptionTag1, 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, sendUnorderedMessageToAlladdExpectedException, 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 GlobalRegionCCEDUnitTest(String name)
name - protected boolean supportsTransactions()
MultiVMRegionTestCasesupportsTransactions in class MultiVMRegionTestCasepublic 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 DistributedTestCaseprotected com.gemstone.gemfire.cache.RegionAttributes getRegionAttributes()
GLOBAL regiongetRegionAttributes in class GlobalRegionTestprotected com.gemstone.gemfire.cache.RegionAttributes getRegionAttributes(String type)
MultiVMRegionTestCasegetRegionAttributes in class MultiVMRegionTestCasepublic void testLocalDestroy()
throws InterruptedException
MultiVMRegionTestCasetestLocalDestroy in class MultiVMRegionTestCaseInterruptedExceptionpublic void testEntryTtlLocalDestroy()
throws InterruptedException
MultiVMRegionTestCasetestEntryTtlLocalDestroy in class MultiVMRegionTestCaseInterruptedExceptionpublic void testGIISendsTombstones()
throws Exception
Exceptionprotected void do_version_recovery_if_necessary(VM vm0, VM vm1, VM vm2, Object[] params)
public void testConcurrentEvents()
throws Exception
Exceptionpublic void testTombstones()
public void testTombstoneExpirationRace()
public void testConcurrentEventsOnEmptyRegion()
public void testConcurrentEventsOnNonReplicatedRegion()
public void testGetAllWithVersions()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.