public final class ProfileRequest extends Object
Constructor and Description |
---|
ProfileRequest(int threads,
double speed)
Creates an immutable instance of the message generation profile.
|
Modifier and Type | Method and Description |
---|---|
double |
getSpeed()
Gets the requested speed of sending messages in messages per second.
|
int |
getThreads()
Gets the number of threads requested to execute sender tasks.
|
String |
toString() |
public ProfileRequest(int threads, double speed)
threads
- The number of threads requested to execute sender tasks.speed
- The requested speed of sending messages in messages per second.public int getThreads()
public double getSpeed()
Copyright © 2010–2017 PerfCake Community. All rights reserved.