public class WorkerOptions extends Object
| Constructor and Description |
|---|
WorkerOptions() |
WorkerOptions(String brokerURL,
String duration,
String parallelCount,
String messageSize,
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
|
long |
getFclAsLong()
Gets the FCL value as a long
|
String |
getMessageSize()
Gets the message size
|
String |
getParallelCount()
Gets the parallel count
|
int |
getParallelCountAsInt() |
String |
getRate()
Gets the target rate
|
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 |
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
|
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 getParallelCount()
public int 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 getRate()
public void setRate(String rate)
rate - the target ratepublic String getFcl()
public long getFclAsLong()
public void setFcl(String fcl)
fcl - The FCL valueThis documentation was released into the public domain.