public class HAOverflowMemObjectSizerDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.distributed.internal.InternalLocator |
locator |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
HAOverflowMemObjectSizerDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanUp(java.lang.Long limit) |
static void |
closeCache() |
static void |
createCacheClient(java.lang.Integer port1,
java.lang.String host)
create client cache
|
static java.lang.Integer |
createCacheServer(java.lang.Boolean notification)
Creates cache and starts the bridge-server
|
static void |
performPut(java.lang.Long lowerLimit,
java.lang.Long higerlimit)
perform put on server region that will put entries on CMR region
|
void |
setUp()
Sets up the test (noop).
|
static void |
sizerTestForMemCapacityController(java.lang.Integer port)
Check for size return by ClientUpdateMessagesImpl getSizeInByte()
with size return by memCapacity controller
|
void |
tearDown2()
Tears down the test.
|
void |
testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsFalse()
This test does the following :
Configuration: notification by subscription is false 1)Verify size calculated by getSizeInByte() of ClientUpdateMessagesImpl is equal to the size calculated by memCapacity controller |
void |
testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsTrue()
This test does the following :
Configuration: notification by subscription is true 1)Verify size calculated by getSizeInByte() of ClientUpdateMessagesImpl is equal to the size calculated by memCapacity controller |
addExpectedException, 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, toStringprotected static com.gemstone.gemfire.distributed.internal.InternalLocator locator
public HAOverflowMemObjectSizerDUnitTest(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic static void cleanUp(java.lang.Long limit)
public static java.lang.Integer createCacheServer(java.lang.Boolean notification)
throws java.lang.Exception
notification - property of BridgeServerjava.lang.Exceptionpublic static void createCacheClient(java.lang.Integer port1,
java.lang.String host)
throws java.lang.Exception
port1 - port2 - - end points portsjava.lang.Exceptionpublic void testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsTrue()
public void testSizerImplementationofMemCapacityControllerWhenNotificationBySubscriptionIsFalse()
public static void sizerTestForMemCapacityController(java.lang.Integer port)
port - - BridgeServer port required to get ClientMessagesRegionpublic static void closeCache()
public static void performPut(java.lang.Long lowerLimit,
java.lang.Long higerlimit)
lowerLimit - higerlimit - - lower and upper limit on putCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.