|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yahoo.ycsb.Generator
com.yahoo.ycsb.IntegerGenerator
com.yahoo.ycsb.CounterGenerator
public class CounterGenerator
Generates a sequence of integers 0, 1, ...
Constructor Summary | |
---|---|
CounterGenerator(int countstart)
Create a counter that starts at countstart |
Method Summary | |
---|---|
int |
nextInt()
If the generator returns numeric (integer) values, return the next value as an int. |
Methods inherited from class com.yahoo.ycsb.IntegerGenerator |
---|
lastInt, lastString, nextString, setLastInt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CounterGenerator(int countstart)
Method Detail |
---|
public int nextInt()
nextInt
in class IntegerGenerator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |