use of io.pravega.segmentstore.storage.chunklayer.ChunkedSegmentStorage in project pravega by pravega.
the class InMemorySimpleStorageFactory method newStorage.
static Storage newStorage(int containerId, ScheduledExecutorService executor, ChunkStorage chunkStorage, ChunkMetadataStore metadataStore) {
ChunkedSegmentStorage chunkedSegmentStorage = new ChunkedSegmentStorage(containerId, chunkStorage, metadataStore, executor, ChunkedSegmentStorageConfig.DEFAULT_CONFIG);
chunkedSegmentStorage.initialize(1);
return chunkedSegmentStorage;
}
Aggregations