public class ClientNameLockStepTaskScheduler extends ClientNameTaskScheduler
Tasks are run in the order given in the test configuration. All client threads designated to run a task run it concurrently, but task(i+1) is only scheduled after all clients running task(i) have completed.
Sample timeline with 3 clients running 3 tasks...
c1: t1---------------t2------ t3------ | c2: t1--------- t3----------| c3: t1---- t2-----------t3--- |
Each task is executed only in VMs with the logical client names specified
for that task in the test configuration file, or, if none are specified,
in the VM for each and every logical client name defined in the file. See
ClientPrms.names for how to specify clients.
disconnect, haltIfBadResult, log, name, purpose, tasks, termination, vms| Constructor and Description |
|---|
ClientNameLockStepTaskScheduler(String name,
Vector tasks,
String purpose)
Creates a task scheduler by the given name for the purpose of executing
the given set of start or end tasks in lock step.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
executeTasks()
Executes the tasks using the existing clients.
|
createClientsassignTask, exceededMaxResultWaitSec, exceededMaxResultWaitSec, exceededMaxResultWaitSec, executedNormally, executedNormallyOrNoHaltOrder, executeTasks, fakeKillResults, getTsid, getVm, getVms, hadDynamicActionError, hadDynamicActionHang, hadFatalTaskErrorAndHaltOrder, hadStatMonitorError, initClientRuntime, initExecutionParameters, isFinished, pauseBlocking, pauseScheduling, pauseWaiting, printBlockingReport, printReport, printSchedulingReport, printWaitingReport, processDynamicActionError, reportResult, schedulerResult, setDynamicActionError, setDynamicActionHang, setStatMonitorError, setTermination, startClients, startClientsForced, stopClients, waitForClientsToFinish, waitForClientsToFinish, waitForClientToFinishpublic ClientNameLockStepTaskScheduler(String name, Vector tasks, String purpose)
name - a descriptive name of the tasks to use for loggingtasks - the tasks to be scheduledprotected boolean executeTasks()
executeTasks in class ClientNameTaskSchedulerCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.