|
|||||||||
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.SkewedLatestGenerator
public class SkewedLatestGenerator
Generate a popularity distribution of items, skewed to favor recent items significantly more than older items.
Constructor Summary | |
---|---|
SkewedLatestGenerator(CounterGenerator basis)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
int |
nextInt()
Generate the next string in the distribution, skewed Zipfian favoring the items most recently returned by the basis generator. |
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 SkewedLatestGenerator(CounterGenerator basis)
Method Detail |
---|
public int nextInt()
nextInt
in class IntegerGenerator
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |