public class PartitionedRegionEventsDUnitTest extends DistributedCacheTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionedRegionEventsDUnitTest.GenericListener
A class that provides default implementations for the methods of
several listener types.
|
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionEventsDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
callbackAssertEquals(String message,
Object expected,
Object actual) |
protected static void |
callbackAssertNull(String msg,
Object val) |
protected static void |
callbackAssertTrue(String msg,
boolean cond) |
protected static void |
createSubregion(String name,
com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs,
PartitionedRegionEventsDUnitTest.GenericListener l)
Create a region and install the given listener
ACCESSED VIA REFLECTION
|
protected static void |
createSubregionWhenDestroy(String name,
com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs,
PartitionedRegionEventsDUnitTest.GenericListener l,
Integer ttl,
com.gemstone.gemfire.cache.ExpirationAction action)
Create a region and install the given listener
ACCESSED VIA REFLECTION
|
protected EventListenersBlackboard |
getBlackboard() |
protected static com.gemstone.gemfire.distributed.DistributedMember |
getMemberId()
ACCESSED VIA REFLECTION
|
void |
testObjectAddedReplaced() |
void |
testObjectAddedReplacedCACHECONTENT() |
void |
testObjectDestroyed() |
void |
testObjectDestroyedCACHECONTENT() |
void |
testObjectInvalidated() |
void |
testObjectInvalidatedCACHECONTENT() |
void |
testUpdateIsCreate() |
protected static void |
updateEntry(String name,
com.gemstone.gemfire.cache.SubscriptionAttributes subAttr,
PartitionedRegionEventsDUnitTest.GenericListener l)
Update an entry in this test's region with the given name
ACCESSED VIA REFLECTION
|
protected static void |
updateNewEntry(String name,
com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs,
PartitionedRegionEventsDUnitTest.GenericListener l)
Update an entry in this test's region with the given name, assuming that the update
is actually causing creation of the entry
ACCESSED VIA REFLECTION
|
forEachVMInvoke, getDistributionManager, getRootRegion, remoteAssertEntryValue, remoteCreateRegion, remoteCreateRegion, remoteDefineEntry, remoteDefineEntry, remoteDestroy, remoteInvalidate, remotePut, remotePutDistributed, remoteReplace, setUp, setUp, tearDown2addExpectedException, 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 PartitionedRegionEventsDUnitTest(String name)
protected static void callbackAssertEquals(String message, Object expected, Object actual)
protected static void callbackAssertTrue(String msg, boolean cond)
public void testObjectAddedReplaced()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testUpdateIsCreate()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectInvalidated()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectDestroyed()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectAddedReplacedCACHECONTENT()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectInvalidatedCACHECONTENT()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionpublic void testObjectDestroyedCACHECONTENT()
throws com.gemstone.gemfire.cache.CacheException,
InterruptedException
com.gemstone.gemfire.cache.CacheExceptionInterruptedExceptionprotected static void createSubregion(String name, com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs, PartitionedRegionEventsDUnitTest.GenericListener l) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected static void createSubregionWhenDestroy(String name, com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs, PartitionedRegionEventsDUnitTest.GenericListener l, Integer ttl, com.gemstone.gemfire.cache.ExpirationAction action) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected static void updateEntry(String name, com.gemstone.gemfire.cache.SubscriptionAttributes subAttr, PartitionedRegionEventsDUnitTest.GenericListener l) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected static void updateNewEntry(String name, com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs, PartitionedRegionEventsDUnitTest.GenericListener l) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected static com.gemstone.gemfire.distributed.DistributedMember getMemberId()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected EventListenersBlackboard getBlackboard()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.