public abstract class CacheWriterTestCase extends RegionAttributesTestCase
CacheWriters that are invoked locally.MultiVMRegionTestCase.testRemoteCacheWriter(),
Serialized FormRegionAttributesTestCase.TestExpiryDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2eventCount, preSnapshotRegioncachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
CacheWriterTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
testCacheWriterBeforeCreate()
Tests that the
CacheWriter is called before an entry
is created. |
void |
testCacheWriterBeforeDestroy()
Tests that the
CacheWriter is called before an entry
is destroyed. |
void |
testCacheWriterBeforeRegionDestroy()
Tests that the
CacheWriter is called before a region
is destroyed. |
void |
testCacheWriterBeforeUpdate()
Tests that the
CacheWriter is called before an entry
is updated. |
void |
testCacheWriterExceptionAborts()
Tests that a
CacheWriter throwing a CacheWriterException aborts the operation. |
void |
testCacheWriterLocalDestroy()
Tests that a
CacheWriter is not invoked on a
local destroy. |
testAttributesMutator, testAttributesMutatorBogus, testRegionAttributescreateRegion, createRootRegion, entryIsLocal, getRegionAttributes, pauseIfNecessary, pauseIfNecessary, remoteTestPostSnapshot, supportsLocalDestroyAndLocalInvalidate, supportsSubregions, tearDown2, 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, 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, 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 CacheWriterTestCase(String name)
public void testCacheWriterBeforeCreate()
throws com.gemstone.gemfire.cache.CacheException
CacheWriter is called before an entry
is created.com.gemstone.gemfire.cache.CacheExceptionpublic void testCacheWriterBeforeUpdate()
throws com.gemstone.gemfire.cache.CacheException
CacheWriter is called before an entry
is updated.com.gemstone.gemfire.cache.CacheExceptionpublic void testCacheWriterBeforeDestroy()
throws com.gemstone.gemfire.cache.CacheException
CacheWriter is called before an entry
is destroyed.com.gemstone.gemfire.cache.CacheExceptionpublic void testCacheWriterBeforeRegionDestroy()
throws com.gemstone.gemfire.cache.CacheException
CacheWriter is called before a region
is destroyed.com.gemstone.gemfire.cache.CacheExceptionCacheWriter.beforeRegionDestroy(com.gemstone.gemfire.cache.RegionEvent<K, V>),
CacheCallback.close()public void testCacheWriterLocalDestroy()
throws com.gemstone.gemfire.cache.CacheException
CacheWriter is not invoked on a
local destroy.com.gemstone.gemfire.cache.CacheExceptionpublic void testCacheWriterExceptionAborts()
throws com.gemstone.gemfire.cache.CacheException
CacheWriter throwing a CacheWriterException aborts the operation.com.gemstone.gemfire.cache.CacheExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.