public interface TaskScheduler
| Modifier and Type | Method and Description |
|---|---|
void |
createClients(Map cds,
Map tgs)
Asks the scheduler to create vm and client records based on the client
descriptions and map clients to threadgroups.
|
boolean |
executeTasks(boolean haltIfBadResult,
long maxResultWaitSec)
Asks the scheduler to execute its tasks using the existing clients.
|
void |
printReport()
Asks the scheduler to log the result of executing its tasks.
|
void |
startClients()
Asks the scheduler to start clients previously created but not running.
|
void |
startClientsForced()
Asks the scheduler to start clients previously created.
|
void |
stopClients()
Asks the scheduler to stop the clients, rather than leaving them running
for another scheduler to use later.
|
void createClients(Map cds, Map tgs)
cds - the ClientDescription describes the client vms and threadstgs - the thread groups to map clients to.void startClients()
HydraInternalException - if there are running clientsHydraTimeoutException - if the clients do not start within
Prms.maxClientStartupWaitSecvoid startClientsForced()
HydraTimeoutException - if the clients do not start within
Prms.maxClientStartupWaitSecvoid stopClients()
HydraTimeoutException - if the clients do not stop within
Prms.maxClientShutdownWaitSecboolean executeTasks(boolean haltIfBadResult,
long maxResultWaitSec)
haltIfBadResult - whether to stop on a fatal task error.maxResultWaitSec - the maximum amount of time to wait for any one
task to complete.HydraInternalException - if there are tasks, but no existing clientsvoid printReport()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.