SYMBOL INDEX (749 symbols across 74 files) FILE: src/main/java/com/facebook/LinkBench/Config.java class Config (line 24) | public class Config { FILE: src/main/java/com/facebook/LinkBench/ConfigUtil.java class ConfigUtil (line 29) | public class ConfigUtil { method findLinkBenchHome (line 36) | public static String findLinkBenchHome() { method getDebugLevel (line 47) | public static Level getDebugLevel(Properties props) method setupLogging (line 86) | public static void setupLogging(Properties props, String logFile) method getPropertyRequired (line 112) | public static String getPropertyRequired(Properties props, String key) method getInt (line 122) | public static int getInt(Properties props, String key) method getInt (line 134) | public static int getInt(Properties props, String key, Integer default... method getLong (line 148) | public static long getLong(Properties props, String key) method getLong (line 161) | public static long getLong(Properties props, String key, Long defaultVal) method getDouble (line 176) | public static double getDouble(Properties props, String key) method getDouble (line 189) | public static double getDouble(Properties props, String key, method getBool (line 211) | public static boolean getBool(Properties props, String key) method getBool (line 216) | public static boolean getBool(Properties props, String key, FILE: src/main/java/com/facebook/LinkBench/GraphStore.java class GraphStore (line 24) | public abstract class GraphStore extends LinkStore implements NodeStore { method bulkAddNodes (line 27) | public long[] bulkAddNodes(String dbid, List nodes) throws Excep... FILE: src/main/java/com/facebook/LinkBench/InvertibleShuffler.java class InvertibleShuffler (line 23) | public class InvertibleShuffler { method InvertibleShuffler (line 31) | public InvertibleShuffler(long seed, int shuffleGroups, long n) { method InvertibleShuffler (line 34) | public InvertibleShuffler(Random rng, int shuffleGroups, long n) { method permute (line 52) | public long permute(long i) { method invertPermute (line 56) | public long invertPermute(long i) { method permute (line 60) | public long permute(long i, boolean inverse) { FILE: src/main/java/com/facebook/LinkBench/Link.java class Link (line 21) | public class Link { method Link (line 23) | public Link(long id1, long link_type, long id2, method Link (line 34) | Link() { method equals (line 39) | public boolean equals(Object other) { method toString (line 52) | public String toString() { method clone (line 63) | public Link clone() { FILE: src/main/java/com/facebook/LinkBench/LinkBenchConfigError.java class LinkBenchConfigError (line 18) | public class LinkBenchConfigError extends RuntimeException { method LinkBenchConfigError (line 21) | public LinkBenchConfigError(String msg) { FILE: src/main/java/com/facebook/LinkBench/LinkBenchDriver.java class LinkBenchDriver (line 62) | public class LinkBenchDriver { method LinkBenchDriver (line 83) | LinkBenchDriver(String configfile, Properties method loadWorkloadProps (line 108) | private void loadWorkloadProps() throws IOException, FileNotFoundExcep... class Stores (line 134) | private static class Stores { method Stores (line 137) | public Stores(LinkStore linkStore, NodeStore nodeStore) { method initStores (line 145) | private Stores initStores() method createLinkStore (line 153) | private LinkStore createLinkStore() throws Exception, IOException { method createNodeStore (line 183) | private NodeStore createNodeStore(LinkStore linkStore) throws Exception, method load (line 212) | void load() throws IOException, InterruptedException, Throwable { method createMasterRNG (line 303) | private Random createMasterRNG(Properties props, String configKey) { method enqueueLoadWork (line 330) | private void enqueueLoadWork(BlockingQueue chunk_q, long st... method sendrequests (line 354) | void sendrequests() throws IOException, InterruptedException, Throwable { method concurrentExec (line 420) | static long concurrentExec(final List tasks) method drive (line 454) | void drive() throws IOException, InterruptedException, Throwable { method main (line 459) | public static void main(String[] args) method printUsage (line 472) | private static void printUsage(Options options) { method initializeOptions (line 478) | private static Options initializeOptions() { method processArgs (line 521) | private static void processArgs(String[] args) FILE: src/main/java/com/facebook/LinkBench/LinkBenchDriverMR.java class LinkBenchDriverMR (line 66) | public class LinkBenchDriverMR extends Configured implements Tool { type Counters (line 76) | static enum Counters { LINK_LOADED, REQUEST_DONE } method initStore (line 88) | private static LinkStore initStore(Phase currentphase, int mapperid) class LinkBenchInputSplit (line 123) | private class LinkBenchInputSplit implements InputSplit { method LinkBenchInputSplit (line 127) | LinkBenchInputSplit() {} method LinkBenchInputSplit (line 128) | public LinkBenchInputSplit(int i, int n) { method getID (line 132) | public int getID() {return this.id;} method getNum (line 133) | public int getNum() {return this.num;} method getLength (line 134) | public long getLength() {return 1;} method getLocations (line 136) | public String[] getLocations() throws IOException { method readFields (line 140) | public void readFields(DataInput in) throws IOException { method write (line 145) | public void write(DataOutput out) throws IOException { class LinkBenchRecordReader (line 155) | private class LinkBenchRecordReader method LinkBenchRecordReader (line 161) | public LinkBenchRecordReader(LinkBenchInputSplit split) { method createKey (line 167) | public IntWritable createKey() {return new IntWritable();} method createValue (line 168) | public IntWritable createValue() {return new IntWritable();} method close (line 169) | public void close() throws IOException { } method getProgress (line 172) | public float getProgress() { return 0.5f;} method getPos (line 174) | public long getPos() {return 1;} method next (line 176) | public boolean next(IntWritable key, IntWritable value) class LinkBenchInputFormat (line 192) | private class LinkBenchInputFormat method getSplits (line 195) | public InputSplit[] getSplits(JobConf conf, int numsplits) { method getRecordReader (line 203) | public RecordReader getRecordReader( method validateInput (line 208) | public void validateInput(JobConf conf) {} method createJobConf (line 216) | private JobConf createJobConf(int currentphase, int nmappers) { method setupInputFiles (line 249) | private static FileSystem setupInputFiles(JobConf jobconf, int nmappers) method readOutput (line 291) | public static long readOutput(FileSystem fs, JobConf jobconf) class LoadMapper (line 314) | public static class LoadMapper extends MapReduceBase method map (line 317) | public void map(IntWritable loaderid, class RequestMapper (line 358) | public static class RequestMapper extends MapReduceBase method map (line 361) | public void map(IntWritable requesterid, class LoadRequestReducer (line 406) | public static class LoadRequestReducer extends MapReduceBase method configure (line 413) | @Override method reduce (line 418) | public void reduce(IntWritable nmappers, method close (line 434) | @Override method load (line 451) | private void load() throws IOException, InterruptedException { method sendrequests (line 488) | private void sendrequests() throws IOException, InterruptedException { method run (line 515) | @Override method getClassByName (line 549) | public static Class getClassByName(String name) method newInstance (line 561) | public static T newInstance(Class theClass) { method main (line 573) | public static void main(String[] args) throws Exception { FILE: src/main/java/com/facebook/LinkBench/LinkBenchLoad.java class LinkBenchLoad (line 50) | public class LinkBenchLoad implements Runnable { method LinkBenchLoad (line 100) | public LinkBenchLoad(LinkStore store, Properties props, method LinkBenchLoad (line 113) | public LinkBenchLoad(LinkStore linkStore, method getLinksLoaded (line 179) | public long getLinksLoaded() { method run (line 183) | @Override method displayStats (line 240) | private void displayStats(long startTime, boolean bulkLoad) { method processChunk (line 253) | private void processChunk(LoadChunk chunk, boolean bulkLoad, method createOutLinks (line 312) | private long createOutLinks(Random rng, method initLink (line 379) | private Link initLink() { method constructLink (line 397) | private void constructLink(Random rng, Link link, long id1, method chooseInitialTimestamp (line 423) | private long chooseInitialTimestamp(Random rng) { method loadLink (line 439) | private void loadLink(Link link, long outlink_ix, long nlinks, method loadLinks (line 470) | private void loadLinks(ArrayList loadBuffer) { method loadCounts (line 496) | private void loadCounts(ArrayList loadBuffer) { class LoadChunk (line 528) | public static class LoadChunk { method LoadChunk (line 532) | public LoadChunk(long id, long start, long end, Random rng) { method LoadChunk (line 535) | public LoadChunk(boolean shutdown, method toString (line 554) | public String toString() { class LoadProgress (line 567) | public static class LoadProgress { method LoadProgress (line 571) | public LoadProgress(Logger progressLogger, method create (line 582) | public static LoadProgress create(Logger progressLogger, Properties ... method startTimer (line 598) | public void startTimer() { method update (line 607) | public void update(long id1_incr, long links_incr) { FILE: src/main/java/com/facebook/LinkBench/LinkBenchOp.java type LinkBenchOp (line 19) | public enum LinkBenchOp { method displayName (line 41) | public String displayName() { FILE: src/main/java/com/facebook/LinkBench/LinkBenchRequest.java class LinkBenchRequest (line 41) | public class LinkBenchRequest implements Runnable { class HistoryKey (line 97) | private static class HistoryKey { method HistoryKey (line 100) | public HistoryKey(long id1, long link_type) { method HistoryKey (line 106) | public HistoryKey(Link l) { method hashCode (line 110) | @Override method equals (line 119) | @Override method LinkBenchRequest (line 176) | public LinkBenchRequest(LinkStore linkStore, method initRequestProbabilities (line 251) | private void initRequestProbabilities(Properties props) { method initLinkRequestDistributions (line 270) | private void initLinkRequestDistributions(Properties props, int reques... method initLinkDataGeneration (line 323) | private void initLinkDataGeneration(Properties props) { method initNodeRequestDistributions (line 346) | private void initNodeRequestDistributions(Properties props) { method initNodeDataGeneration (line 381) | private void initNodeDataGeneration(Properties props) { method getRequestsDone (line 407) | public long getRequestsDone() { method didAbort (line 411) | public boolean didAbort() { method chooseRequestID (line 416) | private long chooseRequestID(DistributionType type, long previousId1) { method oneRequest (line 472) | private boolean oneRequest(boolean recordStats) { method createAddNode (line 686) | private Node createAddNode() { method createUpdateNode (line 695) | private Node createUpdateNode(long id) { method run (line 701) | @Override method closeStores (line 859) | private void closeStores() { method displayStats (line 866) | private void displayStats(long lastStatDisplay_ms, long now_ms) { method getLink (line 877) | int getLink(long id1, long link_type, long id2s[]) throws Exception { method getLinkList (line 882) | Link[] getLinkList(long id1, long link_type) throws Exception { method getLinkListTail (line 901) | Link[] getLinkListTail() throws Exception { method addTailCacheEntry (line 943) | private void addTailCacheEntry(Link lastLink) { method removeTailCacheEntry (line 965) | private void removeTailCacheEntry(int pos, Link repl) { class RequestProgress (line 988) | public static class RequestProgress { method RequestProgress (line 1003) | public RequestProgress(Logger progressLogger, long totalRequests, method startTimer (line 1013) | public void startTimer() { method getBenchmarkStartTime (line 1017) | public long getBenchmarkStartTime() { method update (line 1021) | public void update(long requestIncr) { method createProgress (line 1042) | public static RequestProgress createProgress(Logger logger, FILE: src/main/java/com/facebook/LinkBench/LinkBenchTask.java type LinkBenchTask (line 22) | public interface LinkBenchTask { method run (line 23) | public abstract void run() throws Exception; FILE: src/main/java/com/facebook/LinkBench/LinkCount.java class LinkCount (line 18) | public class LinkCount { method LinkCount (line 25) | public LinkCount(long id1, long link_type, FILE: src/main/java/com/facebook/LinkBench/LinkStore.java class LinkStore (line 23) | public abstract class LinkStore { method LinkStore (line 42) | public LinkStore() { method getRangeLimit (line 46) | public int getRangeLimit() { method setRangeLimit (line 50) | public void setRangeLimit(int rangeLimit) { method initialize (line 55) | public abstract void initialize(Properties p, method close (line 61) | public abstract void close(); method clearErrors (line 65) | public abstract void clearErrors(int threadID); method addLink (line 76) | public abstract boolean addLink(String dbid, Link a, boolean noinverse... method deleteLink (line 90) | public abstract boolean deleteLink(String dbid, long id1, long link_type, method updateLink (line 102) | public abstract boolean updateLink(String dbid, Link a, boolean noinve... method getLink (line 115) | public abstract Link getLink(String dbid, long id1, long link_type, lo... method multigetLinks (line 123) | public Link[] multigetLinks(String dbid, long id1, long link_type, method getLinkList (line 147) | public abstract Link[] getLinkList(String dbid, long id1, long link_type) method getLinkList (line 165) | public abstract Link[] getLinkList(String dbid, long id1, long link_type, method countLinks (line 171) | public abstract long countLinks(String dbid, long id1, long link_type)... method bulkLoadBatchSize (line 177) | public int bulkLoadBatchSize() { method addBulkLinks (line 182) | public void addBulkLinks(String dbid, List a, boolean noinverse) method addBulkCounts (line 189) | public void addBulkCounts(String dbid, List a) FILE: src/main/java/com/facebook/LinkBench/LinkStoreHBaseGeneralAtomicityTesting.java class LinkStoreHBaseGeneralAtomicityTesting (line 55) | public class LinkStoreHBaseGeneralAtomicityTesting extends LinkStore { method linkToBytes (line 78) | private byte[] linkToBytes(Link a) { method combine (line 91) | private String combine(long id1, long link_type, long id2) { method bytesToLink (line 98) | private Link bytesToLink(byte[] blink) throws Exception { method bytesToString (line 115) | private String bytesToString(byte[] value) { method assertTrue (line 120) | private void assertTrue(boolean expression, String message) method LinkStoreHBaseGeneralAtomicityTesting (line 134) | public LinkStoreHBaseGeneralAtomicityTesting( method LinkStoreHBaseGeneralAtomicityTesting (line 140) | public LinkStoreHBaseGeneralAtomicityTesting() { method initialize (line 144) | @Override method close (line 185) | @Override method clearErrors (line 193) | @Override method addLink (line 206) | @Override method deleteLink (line 263) | @Override method updateLink (line 305) | @Override method getLink (line 313) | @Override method getLinkList (line 346) | @Override method getLinkList (line 353) | @Override method countLinks (line 363) | @Override FILE: src/main/java/com/facebook/LinkBench/LinkStoreMysql.java class LinkStoreMysql (line 37) | public class LinkStoreMysql extends GraphStore { method LinkStoreMysql (line 75) | public LinkStoreMysql() { method LinkStoreMysql (line 79) | public LinkStoreMysql(Properties props) throws IOException, Exception { method initialize (line 84) | public void initialize(Properties props, Phase currentPhase, method openConnection (line 133) | private void openConnection() throws Exception { method close (line 190) | @Override method clearErrors (line 202) | public void clearErrors(int threadID) { method populateRetrySQLStates (line 231) | private static HashSet populateRetrySQLStates() { method processSQLException (line 243) | private boolean processSQLException(SQLException ex, String op) { method testCount (line 261) | private void testCount(Statement stmt, String dbid, method addLink (line 293) | @Override method addLinkImpl (line 307) | private boolean addLinkImpl(String dbid, Link l, boolean noinverse) method addLinksNoCount (line 430) | private int addLinksNoCount(String dbid, List links) method deleteLink (line 465) | @Override method deleteLinkImpl (line 480) | private boolean deleteLinkImpl(String dbid, long id1, long link_type, ... method updateLink (line 589) | @Override method getLink (line 599) | @Override method getLinkImpl (line 613) | private Link getLinkImpl(String dbid, long id1, long link_type, long id2) method multigetLinks (line 622) | @Override method multigetLinksImpl (line 636) | private Link[] multigetLinksImpl(String dbid, long id1, long link_type, method getLinkList (line 683) | @Override method getLinkList (line 690) | @Override method getLinkListImpl (line 707) | private Link[] getLinkListImpl(String dbid, long id1, long link_type, method createLinkFromRow (line 755) | private Link createLinkFromRow(ResultSet rs) throws SQLException { method countLinks (line 768) | @Override method countLinksImpl (line 782) | private long countLinksImpl(String dbid, long id1, long link_type) method bulkLoadBatchSize (line 809) | @Override method addBulkLinks (line 814) | @Override method addBulkLinksImpl (line 829) | private void addBulkLinksImpl(String dbid, List links, boolean n... method addBulkCounts (line 839) | @Override method addBulkCountsImpl (line 854) | private void addBulkCountsImpl(String dbid, List counts) method checkNodeTableConfigured (line 888) | private void checkNodeTableConfigured() throws Exception { method resetNodeStore (line 895) | @Override method addNode (line 905) | @Override method addNodeImpl (line 918) | private long addNodeImpl(String dbid, Node node) throws Exception { method bulkAddNodes (line 924) | @Override method bulkAddNodesImpl (line 937) | private long[] bulkAddNodesImpl(String dbid, List nodes) throws ... method getNode (line 978) | @Override method getNodeImpl (line 991) | private Node getNodeImpl(String dbid, int type, long id) throws Except... method updateNode (line 1013) | @Override method updateNodeImpl (line 1026) | private boolean updateNodeImpl(String dbid, Node node) throws Exception { method deleteNode (line 1045) | @Override method deleteNodeImpl (line 1058) | private boolean deleteNodeImpl(String dbid, int type, long id) throws ... method stringLiteral (line 1082) | private static String stringLiteral(byte arr[]) { method hexStringLiteral (line 1129) | private static String hexStringLiteral(byte[] arr) { FILE: src/main/java/com/facebook/LinkBench/LinkStoreRocksDb.java class LinkStoreRocksDb (line 54) | public class LinkStoreRocksDb extends GraphStore { method getRocksClient (line 87) | private RocksService getRocksClient() throws Exception { method incrThreads (line 104) | static synchronized void incrThreads() { method isLastThread (line 108) | static synchronized boolean isLastThread() { method close (line 116) | @Override method initialize (line 130) | @Override method LinkStoreRocksDb (line 143) | public LinkStoreRocksDb() { method LinkStoreRocksDb (line 147) | public LinkStoreRocksDb(Properties props) throws IOException, Exception { method clearErrors (line 152) | public void clearErrors(int threadID) { method addLink (line 165) | @Override method addLinkImpl (line 176) | private boolean addLinkImpl(String dbid, Link l, boolean noinverse) method addLinksNoCount (line 198) | private boolean addLinksNoCount(String dbid, List links) method deleteLink (line 215) | @Override method deleteLinkImpl (line 227) | private boolean deleteLinkImpl(String dbid, long id1, long link_type, method updateLink (line 243) | @Override method getLink (line 253) | @Override method getLinkImpl (line 264) | private Link getLinkImpl(String dbid, long id1, long link_type, long id2) method multigetLinks (line 274) | @Override method multigetLinksImpl (line 285) | private Link[] multigetLinksImpl(String dbid, long id1, long link_type, method getLinkList (line 306) | @Override method getLinkList (line 313) | @Override method getLinkListImpl (line 326) | private Link[] getLinkListImpl(String dbid, long id1, long link_type, method countLinks (line 345) | @Override method countLinksImpl (line 356) | private long countLinksImpl(String dbid, long id1, long link_type) method bulkLoadBatchSize (line 368) | @Override method addBulkLinks (line 373) | @Override method addBulkLinksImpl (line 384) | private void addBulkLinksImpl(String dbid, List links, method addBulkCounts (line 392) | @Override method addBulkCountsImpl (line 403) | private void addBulkCountsImpl(String dbid, List counts) method resetNodeStore (line 418) | @Override method addNode (line 423) | @Override method addNodeImpl (line 433) | private long addNodeImpl(String dbid, Node node) throws Exception { method bulkAddNodes (line 439) | @Override method bulkAddNodesImpl (line 449) | private long[] bulkAddNodesImpl(String dbid, List nodes) method getNode (line 462) | @Override method getNodeImpl (line 472) | private Node getNodeImpl(String dbid, int type, long id) throws Except... method updateNode (line 486) | @Override method updateNodeImpl (line 496) | private boolean updateNodeImpl(String dbid, Node node) throws Exception { method deleteNode (line 500) | @Override method deleteNodeImpl (line 510) | private boolean deleteNodeImpl(String dbid, int type, long id) FILE: src/main/java/com/facebook/LinkBench/MemoryLinkStore.java class MemoryLinkStore (line 37) | public class MemoryLinkStore extends GraphStore { class LinkLookupKey (line 38) | private static class LinkLookupKey { method LinkLookupKey (line 42) | public LinkLookupKey(long id1, long link_type) { method equals (line 48) | @Override method hashCode (line 57) | @Override class LinkTimeStampComparator (line 64) | private static class LinkTimeStampComparator implements Comparator... method findLinkByKey (line 163) | private SortedSet findLinkByKey(String dbid, long id1, method newSortedLinkSet (line 188) | private TreeSet newSortedLinkSet() { method newHandle (line 195) | public MemoryLinkStore newHandle() { method initialize (line 199) | @Override method close (line 204) | @Override method clearErrors (line 208) | @Override method addLink (line 212) | @Override method deleteLink (line 236) | @Override method updateLink (line 260) | @Override method getLink (line 283) | @Override method getLinkList (line 299) | @Override method getLinkList (line 305) | @Override method countLinks (line 357) | @Override method getNodeDB (line 387) | private NodeDB getNodeDB(String dbid, boolean autocreate) throws Excep... method resetNodeStore (line 402) | @Override method addNode (line 414) | @Override method getNode (line 431) | @Override method updateNode (line 445) | @Override method deleteNode (line 461) | @Override FILE: src/main/java/com/facebook/LinkBench/Node.java class Node (line 24) | public class Node { method Node (line 40) | public Node(long id, int type, long version, int time, method clone (line 50) | public Node clone() { method equals (line 53) | @Override method toString (line 63) | public String toString() { FILE: src/main/java/com/facebook/LinkBench/NodeLoader.java class NodeLoader (line 40) | public class NodeLoader implements Runnable { method NodeLoader (line 73) | public NodeLoader(Properties props, Logger logger, method run (line 109) | @Override method displayAndResetStats (line 154) | private void displayAndResetStats() { method genNode (line 167) | private void genNode(Random rng, long id1, ArrayList nodeLoadBuf... method loadNodes (line 180) | private void loadNodes(ArrayList nodeLoadBuffer) { method getNodesLoaded (line 223) | public long getNodesLoaded() { FILE: src/main/java/com/facebook/LinkBench/NodeStore.java type NodeStore (line 27) | public interface NodeStore { method initialize (line 32) | public void initialize(Properties p, method resetNodeStore (line 40) | public void resetNodeStore(String dbid, long startID) throws Exception; method addNode (line 56) | public long addNode(String dbid, Node node) throws Exception; method bulkAddNodes (line 67) | public long[] bulkAddNodes(String dbid, List nodes) throws Excep... method bulkLoadBatchSize (line 73) | public int bulkLoadBatchSize(); method getNode (line 82) | public Node getNode(String dbid, int type, long id) throws Exception; method updateNode (line 90) | public boolean updateNode(String dbid, Node node) throws Exception; method deleteNode (line 99) | public boolean deleteNode(String dbid, int type, long id) throws Excep... method clearErrors (line 101) | public void clearErrors(int loaderId); method close (line 106) | public void close(); FILE: src/main/java/com/facebook/LinkBench/Phase.java type Phase (line 22) | public enum Phase { FILE: src/main/java/com/facebook/LinkBench/RealDistribution.java class RealDistribution (line 38) | public class RealDistribution extends PiecewiseLinearDistribution { type DistributionType (line 75) | public static enum DistributionType { method RealDistribution (line 88) | public RealDistribution() { method init (line 92) | @Override method init (line 122) | public void init(Properties props, long min, long max, method loadOneShot (line 173) | public static synchronized void loadOneShot(Properties props) { method getArea (line 213) | static double getArea(DistributionType type) { method readCDF (line 223) | private static ArrayList readCDF(String filePath, Scanner scann... method getCDF (line 246) | static NavigableMap getCDF(DistributionType dist) { method getStatisticalData (line 274) | private static void getStatisticalData(Properties props) throws FileNo... method getNlinks (line 358) | static long getNlinks(long id1, long startid1, long maxid1) { method choose (line 363) | @Override method getShuffler (line 371) | public static InvertibleShuffler getShuffler(DistributionType type, lo... FILE: src/main/java/com/facebook/LinkBench/Shuffler.java class Shuffler (line 23) | class Shuffler { method getPermutationValue (line 40) | static long getPermutationValue(long i, long n, long m) { method getPermutationValue (line 54) | static long getPermutationValue(long i, long start, long end, long m) { method getPermutationValue (line 60) | static long getPermutationValue(long i, long start, long end, long[] m... FILE: src/main/java/com/facebook/LinkBench/Timer.java class Timer (line 20) | public class Timer { method waitExpInterval (line 30) | public static long waitExpInterval(Random rng, method waitUntil (line 42) | public static void waitUntil(long time_ns) { FILE: src/main/java/com/facebook/LinkBench/distributions/AccessDistributions.java class AccessDistributions (line 38) | public class AccessDistributions { type AccessDistribution (line 39) | public interface AccessDistribution { method nextID (line 46) | public abstract long nextID(Random rng, long previousId); method getShuffler (line 53) | public abstract InvertibleShuffler getShuffler(); class BuiltinAccessDistribution (line 56) | public static class BuiltinAccessDistribution implements AccessDistrib... method BuiltinAccessDistribution (line 65) | public BuiltinAccessDistribution(AccessDistMode mode, method nextID (line 75) | @Override method getShuffler (line 117) | @Override class ProbAccessDistribution (line 124) | public static class ProbAccessDistribution implements AccessDistributi... method ProbAccessDistribution (line 128) | public ProbAccessDistribution(ProbabilityDistribution dist, method nextID (line 135) | @Override method getShuffler (line 140) | @Override type AccessDistMode (line 147) | public static enum AccessDistMode { method loadAccessDistribution (line 157) | public static AccessDistribution loadAccessDistribution(Properties props, method tryDynamicLoad (line 223) | private static AccessDistribution tryDynamicLoad(String className, FILE: src/main/java/com/facebook/LinkBench/distributions/ApproxHarmonic.java class ApproxHarmonic (line 21) | public class ApproxHarmonic { method generalizedHarmonic (line 37) | public static double generalizedHarmonic(final long n, FILE: src/main/java/com/facebook/LinkBench/distributions/GeometricDistribution.java class GeometricDistribution (line 33) | public class GeometricDistribution implements ProbabilityDistribution { method init (line 45) | @Override method init (line 57) | public void init(long min, long max, double p, double scale) { method pdf (line 64) | @Override method expectedCount (line 69) | @Override method scaledPdf (line 74) | private double scaledPdf(long id, double scaleFactor) { method cdf (line 80) | @Override method choose (line 87) | @Override method quantile (line 92) | @Override FILE: src/main/java/com/facebook/LinkBench/distributions/Harmonic.java class Harmonic (line 26) | public class Harmonic { method generalizedHarmonic (line 36) | public static double generalizedHarmonic(final long n, final double m) { FILE: src/main/java/com/facebook/LinkBench/distributions/ID2Chooser.java class ID2Chooser (line 34) | public class ID2Chooser { method ID2Chooser (line 69) | public ID2Chooser(Properties props, long startid1, long maxid1, method chooseForLoad (line 97) | public long chooseForLoad(Random rng, long id1, long link_type, method chooseForOp (line 114) | public long chooseForOp(Random rng, long id1, long linkType, method chooseMultipleForOp (line 122) | public long[] chooseMultipleForOp(Random rng, long id1, long linkType, method contains (line 159) | private boolean contains(long[] id2s, int n, long id2) { method calcID2Range (line 169) | private long calcID2Range(double pExisting, long nlinks) { method chooseForOpInternal (line 183) | private long chooseForOpInternal(Random rng, long id1, long range) { method calcTotalLinkCount (line 211) | public long calcTotalLinkCount(long id1) { method fixId2 (line 230) | private static long fixId2(long id2, long nrequesters, method getLinkTypes (line 238) | public long[] getLinkTypes() { method chooseRandomLinkType (line 251) | public long chooseRandomLinkType(Random rng) { method calcLinkCount (line 255) | public long calcLinkCount(long id1, long linkType) { FILE: src/main/java/com/facebook/LinkBench/distributions/LinkDistributions.java class LinkDistributions (line 29) | public class LinkDistributions { type LinkDistribution (line 30) | public static interface LinkDistribution { method getNlinks (line 31) | public abstract long getNlinks(long id1); method doShuffle (line 37) | public boolean doShuffle(); class ProbLinkDistribution (line 40) | public static class ProbLinkDistribution implements LinkDistribution { method ProbLinkDistribution (line 43) | public ProbLinkDistribution(ProbabilityDistribution dist) { method getNlinks (line 47) | @Override method doShuffle (line 53) | @Override type LinkDistMode (line 62) | public static enum LinkDistMode { class ArithLinkDistribution (line 74) | public static class ArithLinkDistribution implements LinkDistribution { method ArithLinkDistribution (line 82) | public ArithLinkDistribution(long minid1, long maxid1, LinkDistMode ... method getNlinks (line 95) | @Override method doShuffle (line 136) | @Override method loadLinkDistribution (line 143) | public static LinkDistribution loadLinkDistribution(Properties props, method tryDynamicLoad (line 192) | private static LinkDistribution tryDynamicLoad(String className, FILE: src/main/java/com/facebook/LinkBench/distributions/LogNormalDistribution.java class LogNormalDistribution (line 25) | public class LogNormalDistribution implements ProbabilityDistribution { method init (line 34) | @Override method init (line 49) | public void init(long min, long max, double median, double sigma) { method pdf (line 56) | @Override method expectedCount (line 61) | @Override method cdf (line 66) | @Override method choose (line 75) | @Override method quantile (line 86) | @Override FILE: src/main/java/com/facebook/LinkBench/distributions/PiecewiseLinearDistribution.java class PiecewiseLinearDistribution (line 53) | public abstract class PiecewiseLinearDistribution implements Probability... class Point (line 56) | public static class Point implements Comparable { method Point (line 60) | public Point(int input_value, double input_probability) { method compareTo (line 65) | public int compareTo(Point obj) { method toString (line 70) | public String toString() { method init (line 75) | protected void init(long min, long max, ArrayList cdf) { method init (line 92) | protected void init(long min, long max, ArrayList cdf, method pdf (line 115) | @Override method expectedCount (line 122) | @Override method expectedCount (line 127) | public static double expectedCount(long min, long max, long id, method cdf (line 143) | @Override method quantile (line 151) | @Override method choose (line 157) | @Override method choose (line 162) | protected static long choose(Random rng, long startid1, long maxid1, method expectedValue (line 189) | protected static double expectedValue(ArrayList cdf) { method binarySearch (line 207) | public static int binarySearch(ArrayList points, double p) { method binarySearch (line 224) | public static int binarySearch(double[] a, double p) { method getPDF (line 235) | protected static double[] getPDF(ArrayList cdf) { method getCCDF (line 251) | protected static double[] getCCDF(double[] pdf) { method getCumulativeSum (line 261) | protected static double[] getCumulativeSum(double[] cdf) { FILE: src/main/java/com/facebook/LinkBench/distributions/ProbabilityDistribution.java type ProbabilityDistribution (line 28) | public interface ProbabilityDistribution { method init (line 40) | public abstract void init(long min, long max, method pdf (line 48) | public abstract double pdf(long id); method expectedCount (line 56) | public abstract double expectedCount(long id); method cdf (line 65) | public abstract double cdf(long id); method choose (line 73) | public abstract long choose(Random rng); method quantile (line 80) | public abstract long quantile(double p); FILE: src/main/java/com/facebook/LinkBench/distributions/UniformDistribution.java class UniformDistribution (line 29) | public class UniformDistribution implements ProbabilityDistribution { method init (line 35) | public void init(long min, long max, Properties props, String keyPrefi... method init (line 50) | public void init(long min, long max, double scale) { method pdf (line 56) | @Override method expectedCount (line 61) | @Override method scaledPDF (line 66) | private double scaledPDF(long id, double scale) { method cdf (line 78) | public double cdf(long id) { method quantile (line 94) | public long quantile(double p) { method choose (line 106) | public long choose(Random rng) { method randint2 (line 127) | private long randint2(Random rng, long n) { FILE: src/main/java/com/facebook/LinkBench/distributions/ZipfDistribution.java class ZipfDistribution (line 28) | public class ZipfDistribution implements ProbabilityDistribution { method init (line 45) | @Override class CacheEntry (line 89) | private static class CacheEntry { method calcZetan (line 102) | private double calcZetan(long n) { method uncachedCalcZetan (line 131) | private double uncachedCalcZetan(long n) { method pdf (line 151) | @Override method expectedCount (line 156) | @Override method scaledPDF (line 161) | private double scaledPDF(long id, double scale) { method cdf (line 168) | @Override method choose (line 188) | @Override method quantile (line 199) | public long quantile(double p) { FILE: src/main/java/com/facebook/LinkBench/generators/DataGenerator.java type DataGenerator (line 21) | public interface DataGenerator { method init (line 23) | public void init(Properties props, String keyPrefix); method fill (line 31) | public byte[] fill(Random rng, byte data[]); FILE: src/main/java/com/facebook/LinkBench/generators/MotifDataGenerator.java class MotifDataGenerator (line 50) | public class MotifDataGenerator implements DataGenerator { method MotifDataGenerator (line 74) | public MotifDataGenerator() { method init (line 85) | public void init(int start, int end, double uniqueness) { method init (line 89) | public void init(int start, int end, double uniqueness, int motifBytes) { method init (line 110) | @Override method estMaxCompression (line 132) | public double estMaxCompression() { method fill (line 141) | @Override FILE: src/main/java/com/facebook/LinkBench/generators/UniformDataGenerator.java class UniformDataGenerator (line 33) | public class UniformDataGenerator implements DataGenerator { method UniformDataGenerator (line 37) | public UniformDataGenerator() { method init (line 47) | public void init(int start, int end) { method init (line 65) | @Override method fill (line 74) | @Override method gen (line 79) | public static byte[] gen(Random rng, byte[] data, FILE: src/main/java/com/facebook/LinkBench/stats/LatencyStats.java class LatencyStats (line 36) | public class LatencyStats { method LatencyStats (line 51) | public LatencyStats(int maxThreads) { method latencyToBucket (line 78) | public static int latencyToBucket(long microTime) { method bucketBound (line 105) | public static long[] bucketBound(int bucket) { method recordLatency (line 135) | public void recordLatency(int threadid, LinkBenchOp type, method displayLatencyStats (line 156) | public void displayLatencyStats() { method printCSVStats (line 180) | public void printCSVStats(PrintStream out, boolean header) { method printCSVStats (line 184) | public void printCSVStats(PrintStream out, boolean header, LinkBenchOp... method calcMeans (line 228) | private void calcMeans() { method calcCumulativeBuckets (line 252) | private void calcCumulativeBuckets() { method getBucketBounds (line 267) | private long[] getBucketBounds(LinkBenchOp type, long percentile) { method percentileString (line 292) | private String percentileString(LinkBenchOp type, long percentile) { method boundsToString (line 296) | static String boundsToString(long[] bucketBounds) { method getMean (line 304) | private double getMean(LinkBenchOp type) { method getMax (line 308) | private double getMax(LinkBenchOp type) { FILE: src/main/java/com/facebook/LinkBench/stats/RunningMean.java class RunningMean (line 23) | public class RunningMean { method RunningMean (line 34) | public RunningMean(double v1) { method addSample (line 41) | public void addSample(double vi) { method mean (line 46) | public double mean() { method samples (line 50) | public long samples() { FILE: src/main/java/com/facebook/LinkBench/stats/SampledStats.java class SampledStats (line 43) | public class SampledStats { method SampledStats (line 77) | public SampledStats(int input_threadID, method addStats (line 94) | public void addStats(LinkBenchOp type, long timetaken, boolean error) { method resetSamples (line 126) | public void resetSamples() { method displayStats (line 140) | private void displayStats(LinkBenchOp type, int start, int end, method writeCSVHeader (line 212) | public static void writeCSVHeader(PrintStream out) { method displayStatsAll (line 218) | public void displayStatsAll(long sampleStartTime_ms, long nowTime_ms) { method displayStats (line 223) | public void displayStats(long sampleStartTime_ms, long nowTime_ms, method getCount (line 234) | public long getCount(LinkBenchOp type) { FILE: src/main/java/com/facebook/LinkBench/util/ClassLoadUtil.java class ClassLoadUtil (line 23) | public class ClassLoadUtil { method getClassByName (line 33) | public static Class getClassByName(String name) method newInstance (line 45) | public static T newInstance(Class theClass, Class expected) { method newInstance (line 62) | public static T newInstance(String className, Class expected) FILE: src/test/java/com/facebook/LinkBench/DistributionTestBase.java class DistributionTestBase (line 42) | public abstract class DistributionTestBase extends TestCase { method getDist (line 44) | protected abstract ProbabilityDistribution getDist(); method getDistParams (line 46) | protected Properties getDistParams() { method cdfChecks (line 51) | protected int cdfChecks() { method pdfChecks (line 56) | protected int pdfChecks() { method getBucketer (line 60) | protected Bucketer getBucketer() { method tolerance (line 65) | protected double tolerance() { method initRandom (line 69) | public Random initRandom(String testName) { method testCDFSanity (line 78) | @Test method testPDFSanity (line 99) | @Test method testPDFSum (line 125) | @Test method testChooseSanity (line 147) | @Test method testCDFChooseConsistency (line 164) | @Test method testCDFPDFConsistency (line 207) | @Test method testQuantileSanity (line 227) | @Test type Bucketer (line 254) | static interface Bucketer { method getBucketCount (line 255) | public int getBucketCount(); method chooseBucket (line 256) | public int chooseBucket(long i, long n); method bucketMax (line 257) | public long bucketMax(int bucket, long n); class UniformBucketer (line 260) | static class UniformBucketer implements Bucketer { method UniformBucketer (line 263) | public UniformBucketer(int bucketCount) { method getBucketCount (line 267) | public int getBucketCount() { method chooseBucket (line 271) | public int chooseBucket(long i, long n) { method bucketMax (line 275) | public long bucketMax(int bucket, long n) { FILE: src/test/java/com/facebook/LinkBench/DummyLinkStore.java class DummyLinkStore (line 32) | public class DummyLinkStore extends GraphStore { method DummyLinkStore (line 37) | public DummyLinkStore() { method DummyLinkStore (line 41) | public DummyLinkStore(LinkStore wrappedStore) { method DummyLinkStore (line 45) | public DummyLinkStore(LinkStore wrappedStore, boolean alreadyInitializ... method isRealLinkStore (line 56) | public boolean isRealLinkStore() { method isRealGraphStore (line 63) | public boolean isRealGraphStore() { method initialize (line 89) | @Override method close (line 101) | @Override method clearErrors (line 110) | @Override method addLink (line 118) | @Override method deleteLink (line 129) | @Override method updateLink (line 142) | @Override method multigetLinks (line 155) | @Override method getLink (line 167) | @Override method getLinkList (line 179) | @Override method getLinkList (line 191) | @Override method countLinks (line 206) | @Override method checkInitialized (line 218) | private void checkInitialized() { method bulkLoadBatchSize (line 224) | @Override method addBulkLinks (line 233) | @Override method addBulkCounts (line 243) | @Override method getRangeLimit (line 252) | @Override method setRangeLimit (line 261) | @Override method resetNodeStore (line 270) | @Override method addNode (line 277) | @Override method getNode (line 286) | @Override method updateNode (line 295) | @Override method deleteNode (line 304) | @Override FILE: src/test/java/com/facebook/LinkBench/DummyLinkStoreTest.java class DummyLinkStoreTest (line 21) | public class DummyLinkStoreTest extends LinkStoreTestBase { method initStore (line 25) | @Override method getStoreHandle (line 31) | @Override FILE: src/test/java/com/facebook/LinkBench/GeneratedDataDump.java class GeneratedDataDump (line 35) | public class GeneratedDataDump { method main (line 38) | public static void main(String args[]) { method writeGeneratedDataFile (line 62) | private static void writeGeneratedDataFile(String outFileName, method makeUniformObj (line 88) | private static DataGenerator makeUniformObj() { method makeMotifObj (line 94) | private static MotifDataGenerator makeMotifObj() { method makeUniformAssoc (line 103) | private static DataGenerator makeUniformAssoc() { method makeMotifAssoc (line 109) | private static MotifDataGenerator makeMotifAssoc() { FILE: src/test/java/com/facebook/LinkBench/GeomDistTest.java class GeomDistTest (line 25) | public class GeomDistTest extends DistributionTestBase { method getDist (line 27) | @Override method getDistParams (line 32) | @Override method testGeom (line 42) | @Test FILE: src/test/java/com/facebook/LinkBench/GraphStoreTestBase.java class GraphStoreTestBase (line 33) | public abstract class GraphStoreTestBase extends TestCase { method initStore (line 44) | protected abstract void initStore(Properties props) method getIDCount (line 51) | protected long getIDCount() { method getRequestCount (line 58) | protected int getRequestCount() { method maxConcurrentThreads (line 65) | protected int maxConcurrentThreads() { method getStoreHandle (line 73) | protected abstract DummyLinkStore getStoreHandle(boolean initialized) method setUp (line 76) | @Override method basicProps (line 86) | protected Properties basicProps() { method fillLoadProps (line 93) | public static void fillLoadProps(Properties props, long startId, long ... method fillReqProps (line 105) | public static void fillReqProps(Properties props, long startId, long i... method testFullWorkload (line 152) | @Test method deleteNodeIDRange (line 239) | static void deleteNodeIDRange(String testDB, int type, method serialLoadNodes (line 247) | private void serialLoadNodes(Random rng, Logger logger, Properties props, FILE: src/test/java/com/facebook/LinkBench/HarmonicTest.java class HarmonicTest (line 28) | @Category(SlowTest.class) method testHarmonic (line 31) | @Test method testApproxFast (line 45) | @Test method testApproxSlow (line 52) | @Test method testApproxHelper (line 61) | private void testApproxHelper(long i) { FILE: src/test/java/com/facebook/LinkBench/ID2ChooserTest.java class ID2ChooserTest (line 30) | public class ID2ChooserTest extends TestCase { method setUp (line 33) | @Override method testNoLoadCollisions (line 42) | @Test method testChooseForOp (line 68) | @Test method testMatchPercent (line 92) | @Test method testLinkCount (line 135) | @Test FILE: src/test/java/com/facebook/LinkBench/InvertibleShufflerTest.java class InvertibleShufflerTest (line 26) | public class InvertibleShufflerTest extends TestCase { method testShuffleSmallRange (line 29) | @Test method testShuffleMedRange (line 42) | @Test method testShuffleLargeRange (line 48) | @Test method testShuffle (line 59) | public static void testShuffle(int minId, int maxId, boolean print, FILE: src/test/java/com/facebook/LinkBench/LinkStoreTestBase.java class LinkStoreTestBase (line 53) | public abstract class LinkStoreTestBase extends TestCase { method initStore (line 64) | protected abstract void initStore(Properties props) method getIDCount (line 71) | protected long getIDCount() { method getRequestCount (line 78) | protected int getRequestCount() { method maxConcurrentThreads (line 85) | protected int maxConcurrentThreads() { method getStoreHandle (line 93) | protected abstract DummyLinkStore getStoreHandle(boolean initialized) method setUp (line 96) | @Override method basicProps (line 106) | protected Properties basicProps() { method fillLoadProps (line 112) | public static void fillLoadProps(Properties props, long startId, long ... method fillReqProps (line 134) | public static void fillReqProps(Properties props, long startId, long i... method createRNG (line 194) | static Random createRNG() { method testOneLink (line 202) | @Test method testMultipleLinks (line 268) | @Test method testMultiget (line 340) | @Test method testHiding (line 370) | @Test method testOverwrite (line 398) | @Test method testSqlInjection (line 440) | @Test method testAddThenUpdate (line 449) | private void testAddThenUpdate(Link l, byte[] updateData) throws IOExc... method testBinary1 (line 470) | @Test method testBinary2 (line 476) | @Test method testBinary3 (line 483) | @Test method binaryDataTest (line 495) | private void binaryDataTest(int startByte, int dataMaxSize) method testLoader (line 520) | @Test method testRequester (line 570) | @Test method testRequesterThrottling (line 635) | @Test method testHistoryRequests (line 683) | @Test method checkExpectedList (line 744) | private void checkExpectedList(DummyLinkStore store, method serialLoad (line 771) | static void serialLoad(Random rng, Logger logger, Properties props, method validateLoadedData (line 803) | private void validateLoadedData(Logger logger, DummyLinkStore wrappedS... method deleteIDRange (line 834) | static void deleteIDRange(String testDB, FILE: src/test/java/com/facebook/LinkBench/LogNormalTest.java class LogNormalTest (line 23) | public class LogNormalTest extends DistributionTestBase { method getDist (line 25) | @Override method getDistParams (line 30) | @Override method tolerance (line 38) | @Override method testLogNormal (line 46) | public void testLogNormal() { method testPDFSanity (line 62) | @Override method testPDFSum (line 67) | @Override method testCDFPDFConsistency (line 72) | @Override method testQuantileSanity (line 77) | @Override FILE: src/test/java/com/facebook/LinkBench/MemoryGraphStoreTest.java class MemoryGraphStoreTest (line 21) | public class MemoryGraphStoreTest extends GraphStoreTestBase { method initStore (line 24) | @Override method getStoreHandle (line 29) | @Override FILE: src/test/java/com/facebook/LinkBench/MemoryLinkStoreTest.java class MemoryLinkStoreTest (line 21) | public class MemoryLinkStoreTest extends LinkStoreTestBase { method setUp (line 25) | @Override method basicProps (line 30) | @Override method initStore (line 37) | @Override method getStoreHandle (line 43) | @Override FILE: src/test/java/com/facebook/LinkBench/MemoryNodeStoreTest.java class MemoryNodeStoreTest (line 21) | public class MemoryNodeStoreTest extends NodeStoreTestBase { method initNodeStore (line 23) | @Override method getNodeStoreHandle (line 29) | @Override FILE: src/test/java/com/facebook/LinkBench/MySqlGraphStoreTest.java class MySqlGraphStoreTest (line 26) | @Category(MySqlTest.class) method initStore (line 32) | @Override method getIDCount (line 40) | @Override method getRequestCount (line 46) | @Override method tearDown (line 53) | @Override method basicProps (line 59) | @Override method getStoreHandle (line 67) | @Override FILE: src/test/java/com/facebook/LinkBench/MySqlLinkStoreTest.java class MySqlLinkStoreTest (line 33) | @Category(MySqlTest.class) method getIDCount (line 41) | @Override method getRequestCount (line 47) | @Override method basicProps (line 53) | protected Properties basicProps() { method initStore (line 60) | @Override method getStoreHandle (line 73) | @Override method tearDown (line 82) | @Override protected void tearDown() throws Exception { FILE: src/test/java/com/facebook/LinkBench/MySqlNodeStoreTest.java class MySqlNodeStoreTest (line 26) | @Category(MySqlTest.class) method basicProps (line 32) | @Override method initNodeStore (line 39) | @Override method getNodeStoreHandle (line 47) | @Override FILE: src/test/java/com/facebook/LinkBench/MySqlTestConfig.java class MySqlTestConfig (line 29) | public class MySqlTestConfig { method fillMySqlTestServerProps (line 40) | public static void fillMySqlTestServerProps(Properties props) { method createConnection (line 52) | static Connection createConnection(String testDB) method createTestTables (line 67) | static void createTestTables(Connection conn, String testDB) method dropTestTables (line 104) | static void dropTestTables(Connection conn, String testDB) FILE: src/test/java/com/facebook/LinkBench/NodeStoreTestBase.java class NodeStoreTestBase (line 38) | public abstract class NodeStoreTestBase extends TestCase { method initNodeStore (line 42) | protected abstract void initNodeStore(Properties props) method getNodeStoreHandle (line 45) | protected abstract NodeStore getNodeStoreHandle(boolean initialized) method basicProps (line 48) | protected Properties basicProps() { method setUp (line 54) | @Override method testIDAlloc (line 64) | @Test method testUpdate (line 119) | @Test method testBinary (line 134) | @Test FILE: src/test/java/com/facebook/LinkBench/PiecewiseDistTest.java class PiecewiseDistTest (line 25) | public class PiecewiseDistTest extends DistributionTestBase { method setUp (line 28) | @Override method cdfChecks (line 50) | @Override method getDist (line 55) | @Override method testCDFSanity (line 66) | @Override method testCDFChooseConsistency (line 71) | @Override method testCDFPDFConsistency (line 76) | @Override method testQuantileSanity (line 81) | @Override FILE: src/test/java/com/facebook/LinkBench/TestAccessDistribution.java class TestAccessDistribution (line 35) | public class TestAccessDistribution extends TestCase { method testMultiple (line 37) | @Test method testPerfectPower (line 42) | @Test method testPower (line 47) | @Test method testReciprocal (line 52) | @Test method testRoundRobin (line 57) | @Test method testUniform (line 62) | @Test method testZipf (line 76) | @Test method testReal (line 92) | @Test method testSanityBuiltinDist (line 110) | public static void testSanityBuiltinDist(AccessDistMode mode, long con... method testSanityAccessDist (line 121) | public static void testSanityAccessDist(AccessDistribution dist, long ... FILE: src/test/java/com/facebook/LinkBench/TestDataGen.java class TestDataGen (line 34) | @Category(SlowTest.class) method printByteGrid (line 37) | public static void printByteGrid(byte[] data) { method testTimingUniform (line 49) | @Test method testTimingMotif (line 68) | @Test method testTiming (line 83) | private void testTiming(DataGenFactory fact, int bufSize) { type DataGenFactory (line 113) | private static interface DataGenFactory { method make (line 114) | public abstract DataGenerator make(double param); method doTest (line 117) | private long doTest(DataGenFactory fact, byte[] buf, Random rng, int t... method testMotif (line 134) | @Test method testCompressibility (line 164) | @Test method testCompressibility (line 199) | private void testCompressibility(MotifDataGenerator gen, int blockSize... FILE: src/test/java/com/facebook/LinkBench/TestRealDistribution.java class TestRealDistribution (line 38) | public class TestRealDistribution extends TestCase { method setUp (line 42) | @Override method testBinSearchRegression1 (line 51) | public void testBinSearchRegression1() { method testBinSearchRegression2 (line 67) | public void testBinSearchRegression2() { method testGetNLinks (line 81) | @Test method testGetNextId1 (line 102) | @Test method getDistribution (line 136) | private static NavigableMap getDistribution(int[] seq, method getComparisonError (line 157) | private static double getComparisonError(NavigableMap... method interpolatedValue (line 182) | private static double interpolatedValue(NavigableMap ... method testGetNextId1 (line 196) | private static double testGetNextId1(Properties props, Random rng, method testGetNlinks (line 221) | private static double testGetNlinks(Properties props, FILE: src/test/java/com/facebook/LinkBench/TestStats.java class TestStats (line 25) | public class TestStats extends TestCase { method testBucketing (line 27) | @Test FILE: src/test/java/com/facebook/LinkBench/TimerTest.java class TimerTest (line 24) | public class TimerTest extends TestCase { method testTimer1 (line 26) | @Test method testTimer2 (line 44) | @Test method testExponentialArrivals (line 61) | @Test FILE: src/test/java/com/facebook/LinkBench/UniformDistTest.java class UniformDistTest (line 25) | public class UniformDistTest extends DistributionTestBase { method getDist (line 27) | @Override method testInRange (line 32) | @Test FILE: src/test/java/com/facebook/LinkBench/ZipfDistTest.java class ZipfDistTest (line 23) | public class ZipfDistTest extends DistributionTestBase { method cdfChecks (line 25) | @Override method getDist (line 31) | @Override method getDistParams (line 36) | @Override method getBucketer (line 44) | @Override method tolerance (line 49) | @Override class ZipfBucketer (line 61) | static class ZipfBucketer implements Bucketer { method getBucketCount (line 66) | public int getBucketCount() { method chooseBucket (line 70) | public int chooseBucket(long i, long n) { method bucketMax (line 79) | public long bucketMax(int bucket, long n) { FILE: src/test/java/com/facebook/LinkBench/testtypes/MySqlTest.java type MySqlTest (line 3) | public interface MySqlTest extends ProviderTest { FILE: src/test/java/com/facebook/LinkBench/testtypes/ProviderTest.java type ProviderTest (line 7) | public interface ProviderTest { FILE: src/test/java/com/facebook/LinkBench/testtypes/RocksDbTest.java type RocksDbTest (line 3) | public interface RocksDbTest extends ProviderTest { FILE: src/test/java/com/facebook/LinkBench/testtypes/SlowTest.java type SlowTest (line 7) | public interface SlowTest {