public class SingleWriteSingleReadRegionQueueDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
SingleWriteSingleReadRegionQueueDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
testBoundaryFailover() |
void |
testBoundaryWrapping()
Test what happens when our entry
key wraps around Long.MAX_VALUE
back to 0.
|
void |
testConflation()
Tests that the queue conflates entries properly
|
void |
testFailover()
Test that we can put entries in one queue,
failover to another VM, and get the entries
out correctly.
|
void |
testFailoverWithConflation()
Test that we can put entries in one queue,
failover to another VM, and get the entries
out correctly, with conflation enabled.
|
void |
testFailoverWithConflationAndGII()
Test that we can put entries in one queue,
failover to a queue in another VM that was created after the
entries were added to the queue , and get the entries
out correctly, with conflation enabled.
|
void |
testPeekBatch()
Test to see if we can peek and remove
batches at a time
|
void |
testPeekBatchBlocking()
Test to of the blocking beviour of the batch peek.
|
void |
testPutPeekRemove()
Test to see if we can put and peek, and remove elements in order
from the queue.
|
void |
testPutTake()
Test to see if we can put and take elements in order from
the queue.
|
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 SingleWriteSingleReadRegionQueueDUnitTest(String name)
public void testPutTake()
public void testPutPeekRemove()
public void testPeekBatch()
public void testPeekBatchBlocking()
public void testConflation()
public void testFailover()
public void testFailoverWithConflation()
public void testFailoverWithConflationAndGII()
public void testBoundaryWrapping()
public void testBoundaryFailover()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.