public class OrderPolicyTest extends WANClient
WANClient.Lock| Modifier and Type | Field and Description |
|---|---|
protected long |
minTaskGranularityMS |
protected long |
minTaskGranularitySec |
protected static RandomValues |
randomValues |
protected static OrderPolicyTest |
testInstance |
HydraThreadLocal |
uniqueKeyIndex |
ITERATIONS, killing, lastEventReceivedTime, QUOTES_REGION_NAME, REGION_NAME, serverAlive, TRADES_REGION_NAME, workLock| Constructor and Description |
|---|
OrderPolicyTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkForEventErrors()
Check that no Listener Exceptions were posted to the BB
|
protected void |
createGatewaySender() |
static void |
initEdgeForOrderPolicyTest()
Initializes a edge cache based on the
CacheClientPrms. |
protected void |
initializeInstance() |
static void |
initializeInstanceTask()
Initialize threadLocals for OrderPolicy tests
needs to be invoked by each thread doing OrderPolicy related puts
|
static void |
initPeerForOrderPolicyTest()
Cache initialization for peer gateways
|
static void |
initServerForOrderPolicyTest()
Initializes a server cache based on the
CacheServerPrms. |
protected void |
initTaskTime()
Initialize the instance variables for task timeout
|
static void |
pauseGatewayHub()
A Hydra TASK that chooses a random gateway hub and pauses/resumes it.
|
protected void |
putsForKeyOrderPolicy() |
static void |
putsForKeyOrderPolicyTask()
Method to write incrementally update the value an entry (specific to logical thread id).
|
protected void |
putsForThreadOrderPolicy() |
static void |
putsForThreadOrderPolicyTask()
TBD
|
static void |
startGatewayHubTask()
Starts a gateway hub in a VM that previously created one, after creating
gateways configured based on
CacheServerPrms. |
static void |
stopGatewayHub()
A Hydra TASK that chooses a random gateway hub and stops/starts it.
|
checkInvalidKeys, checkKeyRegionEntries, checkWriterRegionContentsEmpty, clientPutSequentialKeysTask, clientValidateSequentialKeysTask, closeCache, closeEdgeClientCacheTask, closeMLServerCacheTask, closePeerCacheRandomKeysTask, closePeerCacheTask, closeServerCacheRandomKeysTask, closeServerCacheTask, createAndStartGatewayHubTask, createCache, createGatewayHub, createLocatorTask, createRegion, createSequentialKeysUsingPutAllTask, destroyRandomEntriesTask, endNoKillZone, HydraCloseTask_regionSizeToBB, HydraEndTask_regionSizesEqual, initCQClientTask, initEdgeClientCacheTask, initMLEdgeClientCacheTask, initMLServerCacheTask, initPdxDiskStore, initPeerCacheTask, initSecurityPeerCacheTask, initSecurityServerCacheTask, initServerCacheTask, killClient, killGatewayHub, killServer, mentionReferenceInBlackboard, notifyFarEnd, notifyNearEnd, populateRegionTask, print, printKeyListTask, printMLTask, printSequentialKeysTask, printTask, putSequentialKeysTask, putSequentialKeysTaskForInValid, putSequentialKeysTaskForReader, putSequentialKeysTaskForValid, putSequentialKeysTaskForWriter, putSequentialKeysWithBytesTask, putSequentialKeysWithDrainTask, putSequentialKeyUsingPutAll, putTask, quoteFeederTask, readerDestroyAllKeysTask, recycleServer, restartComponent, restartServer, startAndConnectLocatorTask, startBridgeServer, startGatewayHub, startKillZone, startNoKillZone, startQueueMonitor, stopLocatorTask, tradeBurstFeederTask, tradeFeederTask, updateBBandCloseServerCacheTask, updateEntries, validateEventsReceived, validateInvalidSequentialKeysTask, validateMLTask, validateReaderWanSiteEntriesTask, validateSequentialKeysCQTask, validateSequentialKeysTask, validateTask, validateValidSequentialKeysTask, validateWriterWanSiteEntriesTask, waitForEvents, waitForFarEnd, waitForListenerSilence, waitForNearEnd, waitForQueuesToDrain, writerDestroyCreatedKeysTaskprotected static RandomValues randomValues
protected static OrderPolicyTest testInstance
public HydraThreadLocal uniqueKeyIndex
protected long minTaskGranularitySec
protected long minTaskGranularityMS
public static void initPeerForOrderPolicyTest()
public static void initServerForOrderPolicyTest()
CacheServerPrms.public static void initEdgeForOrderPolicyTest()
CacheClientPrms.protected void initTaskTime()
public static void startGatewayHubTask()
CacheServerPrms.protected void createGatewaySender()
public static void initializeInstanceTask()
protected void initializeInstance()
public static void putsForThreadOrderPolicyTask()
throws Exception
Exceptionprotected void putsForThreadOrderPolicy()
public static void putsForKeyOrderPolicyTask()
throws Exception
Exceptionprotected void putsForKeyOrderPolicy()
public static void pauseGatewayHub()
public static void stopGatewayHub()
public static void checkForEventErrors()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.