public class GlobalLockingTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static com.gemstone.gemfire.cache.Region |
region_testBug32356 |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
GlobalLockingTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.RegionAttributes |
getGlobalAttrs()
Returns region attributes for a
GLOBAL region |
protected com.gemstone.gemfire.cache.Region |
getOrCreateRootRegion() |
void |
testBug32356()
Tests for 32356 R2 tryLock w/ 0 timeout broken in Distributed Lock Service
|
void |
testCreateLockTimeout()
Get the lock in one VM, try to create in other
|
void |
testDestroyLockTimeout()
get lock in one VM, try to destroy in other
|
void |
testInvalidateLockTimeout()
get lock in one VM, try to invalidate in other
|
void |
testIsLockGrantorAttribute() |
void |
testLoadLockTimeout()
get lock in one VM, try to invoke loader in other
|
void |
testLockGetPut()
get the lock, region.get(), region.put(), release lock
|
void |
testNonGlobalRegion() |
void |
testPutLockTimeout()
get the lock in one VM, try to put() in other
|
void |
testRegionDistributedLockSimple()
Test Region.getRegionDistributedLock(), calling lock() and then unlock()
|
void |
testSingleVMLockUnlock() |
addExceptionTag1, 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, 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 static com.gemstone.gemfire.cache.Region region_testBug32356
public GlobalLockingTest(String name)
protected com.gemstone.gemfire.cache.RegionAttributes getGlobalAttrs()
GLOBAL regionprotected com.gemstone.gemfire.cache.Region getOrCreateRootRegion()
public void testBug32356()
throws Exception
Exceptionpublic void testNonGlobalRegion()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testSingleVMLockUnlock()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testIsLockGrantorAttribute()
throws Exception
Exceptionpublic void testCreateLockTimeout()
public void testPutLockTimeout()
public void testLoadLockTimeout()
public void testInvalidateLockTimeout()
public void testDestroyLockTimeout()
public void testLockGetPut()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testRegionDistributedLockSimple()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.