1 | String getPassword() {↵ | | 1 | String getConnectionFactory() {↵
|
2 | return getPropertyAsString(CREDENTIALS);↵ | | 2 | return getPropertyAsString(CONN_FACTORY);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set the number of iterations the sampler should aggregate↵ | | 5 | * set the topic↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param count↵ | | 7 | * @param topic↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setIterations(String count) {↵ | | 9 | public void setTopic(String topic) {↵
|
10 | setProperty(ITERATIONS, count);↵ | | 10 | setProperty(TOPIC, topic);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * get the iterations as string↵ | | 13 | * return the topic used for the benchmark↵
|
14 | * ↵ | | 14 | * ↵
|
15 | * @return the number of iterations↵ | | 15 | * @return the topic↵
|
16 | */↵ | | 16 | */↵
|
17 | public String getIterations() {↵ | | 17 | public String getTopic() {↵
|
18 | return getPropertyAsString(ITERATIONS);↵ | | 18 | return getPropertyAsString(TOPIC);↵
|
19 | | | 19 |
|