@ThreadSafe public final class StressBenchConfig extends Object implements PlanConfig
Constructor and Description |
---|
StressBenchConfig(String className,
List<String> args,
long startDelayMs,
int clusterLimit) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getArgs() |
String |
getClassName() |
int |
getClusterLimit() |
String |
getName() |
long |
getStartDelayMs() |
int |
hashCode() |
String |
toString() |
public StressBenchConfig(String className, List<String> args, long startDelayMs, int clusterLimit)
className
- the class name of the benchmark to runargs
- the args for the benchmarkstartDelayMs
- the start delay for the distributed tasks, in msclusterLimit
- the max number of workers to run on. If 0, run on entire cluster,
If < 0, starts scheduling from the end of the worker listpublic String getName()
public String getClassName()
public long getStartDelayMs()
public int getClusterLimit()
Copyright © 2023. All Rights Reserved.