Changed the comment about random range to proper values.
This commit is contained in:
parent
aed1514c0b
commit
6f34ca1de2
@ -25,7 +25,7 @@ public class RandomNumberSpout extends BaseRichSpout {
|
|||||||
@Override
|
@Override
|
||||||
public void nextTuple() {
|
public void nextTuple() {
|
||||||
Utils.sleep(1000);
|
Utils.sleep(1000);
|
||||||
//This will select random int from the range (-1000, 1000)
|
//This will select random int from the range (0, 100)
|
||||||
int operation = random.nextInt(101);
|
int operation = random.nextInt(101);
|
||||||
long timestamp = System.currentTimeMillis();
|
long timestamp = System.currentTimeMillis();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user