public abstract class SimpleTaskScheduler extends BaseTaskScheduler
disconnect, haltIfBadResult, log, name, purpose, tasks, termination, vms| Constructor and Description |
|---|
SimpleTaskScheduler(java.lang.String name,
java.util.Vector tasks,
java.lang.String purpose)
Creates a task scheduler by the given name for the purpose of
executing the given set of tasks.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
schedule(ClientRecord client,
TestTask task,
long now)
Schedules the client with the task, if it is in the proper threadgroup
and has not thrown a stop scheduling order for it.
|
protected boolean |
terminateScheduling(ClientRecord client,
TestTask task,
int count,
long now)
True if it is time to stop scheduling a batched client.
|
protected boolean |
terminateScheduling(java.util.Vector clients,
TestTask task,
int count,
long now)
True if it is time to stop scheduling batched clients.
|
assignTask, createClients, exceededMaxResultWaitSec, exceededMaxResultWaitSec, exceededMaxResultWaitSec, executedNormally, executedNormallyOrNoHaltOrder, executeTasks, 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 SimpleTaskScheduler(java.lang.String name,
java.util.Vector tasks,
java.lang.String purpose)
name - a descriptive name of the tasks to use for loggingtasks - the tasks to be scheduledprotected boolean schedule(ClientRecord client, TestTask task, long now)
protected boolean terminateScheduling(java.util.Vector clients,
TestTask task,
int count,
long now)
protected boolean terminateScheduling(ClientRecord client, TestTask task, int count, long now)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.