public class RolesTest extends Object
hydra.GemFirePrms.roles,
ReliabilityPrms,
(reliableQueuedOps, actualQueuedEvents)| Constructor and Description |
|---|
RolesTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
EndTask_validateRegionRoleExceptionsProcessed()
Hydra ENDTASK to validate that we processed some number of
RegionAccessExceptions and RegionDistributionExceptions (when expected)
|
static void |
EndTask_validateReliableQueuedOps()
Hydra ENDTASK to compare the total cachePerfStats.reliableQueuedOps
to the number of events (isQueued()==true) received.
|
static void |
EndTask_validateRoleChangeEvents()
Hydra ENDTASK to compare the expected RoleLoss & RoleGain events
to the actual number of Role Loss/Gain events received
|
static double |
getNumQueuedOps()
Return the cachePerfStat.reliableQueuedOps
|
static void |
startClient()
Starts any available VM (synchronously).
|
static void |
startClientAsync()
Start any available client (one stopped with startMode = on_demand)
|
static void |
stopAndStartClient()
Hydra TASK to stop a randomly selected client, then dynamically start
any available clients (those with startMode = on_demand).
|
static void |
stopClient()
stop a random clients (synchrnously).
|
static void |
stopClientAsync()
Asynchronously stops a random client using stopMode and startMode from the
test prms.
|
public static void EndTask_validateReliableQueuedOps()
RolesBB.expectedQueuedEvents,
RolesBB.actualQueuedEventspublic static void EndTask_validateRoleChangeEvents()
RolesBB.expectedRoleLossEvents,
RolesBB.actualRoleLossEvents,
RolesBB.expectedRoleGainEvents,
RolesBB.actualRoleGainEventspublic static void EndTask_validateRegionRoleExceptionsProcessed()
public static void stopAndStartClient()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static void stopClientAsync()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionRolesPrms.clientsToStop,
RolesPrms.stopMode,
RoelsPrms.startModepublic static void startClientAsync()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static void stopClient()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionRolesPrms.clientsToStop,
RolesPrms.stopMode,
RoelsPrms.startModepublic static void startClient()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static double getNumQueuedOps()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.