use of io.pravega.segmentstore.storage.CacheFactory in project pravega by pravega.
the class ServiceBuilder method createReadIndexFactory.
protected ReadIndexFactory createReadIndexFactory() {
CacheFactory cacheFactory = getSingleton(this.cacheFactory, this.cacheFactoryCreator);
ReadIndexConfig readIndexConfig = this.serviceBuilderConfig.getConfig(ReadIndexConfig::builder);
return new ContainerReadIndexFactory(readIndexConfig, cacheFactory, this.coreExecutor);
}
Aggregations