public SegmentLoaderLocalCacheManager withConfig(SegmentLoaderConfig config) { return new SegmentLoaderLocalCacheManager(indexIO, config, jsonMapper); }
segmentLoader = new SegmentLoaderLocalCacheManager( indexIO, new SegmentLoaderConfig()
null, null, new SegmentLoaderFactory(new SegmentLoaderLocalCacheManager(null, loaderConfig, jsonMapper)), jsonMapper, indexIO,
@Before public void setUp() throws Exception { EmittingLogger.registerEmitter(new NoopServiceEmitter()); localSegmentCacheFolder = tmpFolder.newFolder("segment_cache_folder"); final List<StorageLocationConfig> locations = new ArrayList<>(); final StorageLocationConfig locationConfig = new StorageLocationConfig(); locationConfig.setPath(localSegmentCacheFolder); locationConfig.setMaxSize(10000000000L); locations.add(locationConfig); manager = new SegmentLoaderLocalCacheManager( TestHelper.getTestIndexIO(), new SegmentLoaderConfig().withLocations(locations), jsonMapper ); }
locations.add(locationConfig2); manager = new SegmentLoaderLocalCacheManager( TestHelper.getTestIndexIO(), new SegmentLoaderConfig().withLocations(locations),
locations.add(locationConfig2); manager = new SegmentLoaderLocalCacheManager( TestHelper.getTestIndexIO(), new SegmentLoaderConfig().withLocations(locations),
locations.add(locationConfig2); manager = new SegmentLoaderLocalCacheManager( TestHelper.getTestIndexIO(), new SegmentLoaderConfig().withLocations(locations),
taskActionClientFactory, null, null, null, null, null, null, null, notifierFactory, null, null, null, new SegmentLoaderFactory( new SegmentLoaderLocalCacheManager( null, new SegmentLoaderConfig()
locations.add(locationConfig2); manager = new SegmentLoaderLocalCacheManager( TestHelper.getTestIndexIO(), new SegmentLoaderConfig().withLocations(locations),
new SegmentLoaderLocalCacheManager(null, segmentLoaderConfig, new DefaultObjectMapper()) ), MAPPER,
new SegmentLoaderLocalCacheManager(null, segmentLoaderConfig, MAPPER) ), MAPPER,
new SegmentLoaderLocalCacheManager(null, segmentLoaderConfig, MAPPER) ), MAPPER,
new SegmentLoaderLocalCacheManager(null, segmentLoaderConfig, testUtils.getTestObjectMapper()) ), testUtils.getTestObjectMapper(),
new SegmentLoaderLocalCacheManager(null, segmentLoaderConfig, testUtils.getTestObjectMapper()) ), testUtils.getTestObjectMapper(),
final SegmentLoader loader = new SegmentLoaderLocalCacheManager( getIndexIO(), new SegmentLoaderConfig() {
public SegmentLoaderLocalCacheManager withConfig(SegmentLoaderConfig config) { return new SegmentLoaderLocalCacheManager(indexIO, config, jsonMapper); }