public abstract class SimpleTaskScheduler extends BaseTaskScheduler
disconnect, haltIfBadResult, log, name, purpose, tasks, termination, vms| Constructor and Description |
|---|
SimpleTaskScheduler(String name,
Vector tasks,
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(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, waitForClientToFinishprotected boolean schedule(ClientRecord client, TestTask task, long now)
protected boolean terminateScheduling(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.