Search in sources :

Example 11 with ChunkedSegmentStorage

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;
}
Also used : ChunkedSegmentStorage(io.pravega.segmentstore.storage.chunklayer.ChunkedSegmentStorage)

Aggregations

ChunkedSegmentStorage (io.pravega.segmentstore.storage.chunklayer.ChunkedSegmentStorage)11 lombok.val (lombok.val)9 Cleanup (lombok.Cleanup)7 Test (org.junit.Test)6 ConfigSetup (io.pravega.segmentstore.storage.ConfigSetup)5 Storage (io.pravega.segmentstore.storage.Storage)5 StorageFactoryCreator (io.pravega.segmentstore.storage.StorageFactoryCreator)5 StorageFactoryInfo (io.pravega.segmentstore.storage.StorageFactoryInfo)5 SyncStorage (io.pravega.segmentstore.storage.SyncStorage)5 AsyncStorageWrapper (io.pravega.segmentstore.storage.AsyncStorageWrapper)4 InMemoryMetadataStore (io.pravega.segmentstore.storage.mocks.InMemoryMetadataStore)4 ExtendedS3ChunkStorage (io.pravega.storage.extendeds3.ExtendedS3ChunkStorage)4 ExtendedS3StorageFactoryCreator (io.pravega.storage.extendeds3.ExtendedS3StorageFactoryCreator)4 FileSystemChunkStorage (io.pravega.storage.filesystem.FileSystemChunkStorage)4 FileSystemStorageFactoryCreator (io.pravega.storage.filesystem.FileSystemStorageFactoryCreator)4 HDFSChunkStorage (io.pravega.storage.hdfs.HDFSChunkStorage)4 HDFSStorageFactoryCreator (io.pravega.storage.hdfs.HDFSStorageFactoryCreator)4 S3ChunkStorage (io.pravega.storage.s3.S3ChunkStorage)4 S3StorageFactoryCreator (io.pravega.storage.s3.S3StorageFactoryCreator)4 ExtendedS3SimpleStorageFactory (io.pravega.storage.extendeds3.ExtendedS3SimpleStorageFactory)2