@Test public void testMemoryStreamDatasetConsistentPartialLruCache () throws IOException { IndirectDataset indirectDataset = DatasetBuilder.file() .configureCache(NodesCache, new CacheOptions(20, LruCache.builder())) .configureCache(ValuesCache, new CacheOptions(100, LruCache.builder())) .configureCache(StringsCache, new CacheOptions(100, LruCache.builder())) .build(Filename.LITE_PATTERN_V32); Dataset memoryDataset = MemoryFactory.create(Filename.LITE_PATTERN_V32); compareDatasets(indirectDataset, memoryDataset); }
public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } private  DatasetBuilder(); }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } private  DatasetBuilder(); static BuildFromFile file(); static BuildFromBuffer buffer(); }
DatasetBuilder { public static BuildFromFile file() { return new DatasetBuilder().new BuildFromFile(); } private  DatasetBuilder(); static BuildFromFile file(); static BuildFromBuffer buffer(); static final int STRINGS_CACHE_SIZE; static final int NODES_CACHE_SIZE; static final int VALUES_CACHE_SIZE; static final int PROFILES_CACHE_SIZE; static final int SIGNATURES_CACHE_SIZE; }