public class DynamicConcurrentTaskScheduler extends SimpleConcurrentTaskScheduler
disconnect, haltIfBadResult, log, name, purpose, tasks, termination, vms| Constructor and Description |
|---|
DynamicConcurrentTaskScheduler(String name,
Vector tasks,
String purpose,
ClientVmRecord vm,
boolean disconnect)
Creates a task scheduler by the given name for the purpose of
executing the given set of tasks.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeTasks(boolean haltIfBadResult,
long maxResultWaitSec)
Overrides
BaseTaskScheduler.executeTasks(boolean,long) to allow
current tasks to complete and to skip executing tasks if the test is
failing. |
executeTasksschedule, terminateScheduling, terminateSchedulingassignTask, createClients, exceededMaxResultWaitSec, exceededMaxResultWaitSec, exceededMaxResultWaitSec, executedNormally, executedNormallyOrNoHaltOrder, 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 DynamicConcurrentTaskScheduler(String name, Vector tasks, String purpose, ClientVmRecord vm, boolean disconnect)
name - a descriptive name of the tasks to use for loggingtasks - the tasks to be scheduledvm - the client vm record to schedulepublic boolean executeTasks(boolean haltIfBadResult,
long maxResultWaitSec)
BaseTaskScheduler.executeTasks(boolean,long) to allow
current tasks to complete and to skip executing tasks if the test is
failing.executeTasks in interface TaskSchedulerexecuteTasks in class BaseTaskSchedulerhaltIfBadResult - whether to terminate on a fatal task errormaxResultWaitSec - the maximum amount of time to wait for any one
task to completeCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.