public class WorkerOptions extends Object
Constructor and Description |
---|
WorkerOptions() |
WorkerOptions(String brokerURL,
String duration,
String logLevel,
String parallelCount,
String messageSize,
String throttle,
String rate,
String fcl) |
WorkerOptions(WorkerOptions workerOptions) |
Modifier and Type | Method and Description |
---|---|
String |
getBrokerURL()
Gets the broker URL
|
String |
getDuration()
The test duration as a string
|
String |
getFcl()
Gets the FCL value
|
Double |
getFclAsDouble()
Gets the FCL value as a double
|
String |
getLogLevel()
Gets the log level
|
String |
getMessageSize()
Gets the message size
|
String |
getParallelCount()
Gets the parallel count
|
Integer |
getParallelCountAsInt() |
String |
getRate()
Gets the target rate
|
String |
getThrottle()
Gets the throttling
|
void |
setBrokerURL(String brokerURL)
Set the broker url
|
void |
setDuration(String duration)
Sets the test duration
|
void |
setFcl(String fcl)
Sets the fail-condition-on-latency (FCL) fail condition
|
void |
setLogLevel(String logLevel)
Set the log level
|
void |
setMessageSize(String messageSize)
Sets the message size
|
void |
setParallelCount(String parallelCount)
Sets the number of concurrent connections (aka parallel count)
|
void |
setRate(String rate)
Sets the target rate
|
void |
setThrottle(String throttle)
Sets the throttling value
|
public WorkerOptions()
public WorkerOptions(WorkerOptions workerOptions)
public String getBrokerURL()
public void setBrokerURL(String brokerURL)
brokerURL
- the broker urlpublic String getDuration()
public void setDuration(String duration)
duration
- the test durationpublic String getLogLevel()
public void setLogLevel(String logLevel)
logLevel
- the log levelpublic String getParallelCount()
public Integer getParallelCountAsInt()
public void setParallelCount(String parallelCount)
parallelCount
- the parallel countpublic String getMessageSize()
public void setMessageSize(String messageSize)
messageSize
- the message size (either in the numeric form or with the variable size format)public String getThrottle()
public void setThrottle(String throttle)
throttle
- throttle valuepublic String getRate()
public void setRate(String rate)
rate
- the target ratepublic String getFcl()
public Double getFclAsDouble()
public void setFcl(String fcl)
fcl
- The FCL valueThis documentation was released into the public domain.