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(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
callbackAssertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual) |
protected static void |
callbackAssertNull(java.lang.String msg,
java.lang.Object val) |
protected static void |
callbackAssertTrue(java.lang.String msg,
boolean cond) |
protected static void |
createSubregion(java.lang.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(java.lang.String name,
com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs,
PartitionedRegionEventsDUnitTest.GenericListener l,
java.lang.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(java.lang.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(java.lang.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(java.lang.String name)
protected static void callbackAssertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
protected static void callbackAssertTrue(java.lang.String msg,
boolean cond)
protected static void callbackAssertNull(java.lang.String msg,
java.lang.Object val)
public void testObjectAddedReplaced()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionpublic void testUpdateIsCreate()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionpublic void testObjectInvalidated()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionpublic void testObjectDestroyed()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionpublic void testObjectAddedReplacedCACHECONTENT()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionpublic void testObjectInvalidatedCACHECONTENT()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionpublic void testObjectDestroyedCACHECONTENT()
throws com.gemstone.gemfire.cache.CacheException,
java.lang.InterruptedException
com.gemstone.gemfire.cache.CacheExceptionjava.lang.InterruptedExceptionprotected static void createSubregion(java.lang.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(java.lang.String name,
com.gemstone.gemfire.cache.SubscriptionAttributes subAttrs,
PartitionedRegionEventsDUnitTest.GenericListener l,
java.lang.Integer ttl,
com.gemstone.gemfire.cache.ExpirationAction action)
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected static void updateEntry(java.lang.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(java.lang.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.