use of io.pravega.segmentstore.storage.chunklayer.UtilsWrapper in project pravega by pravega.
the class StreamSegmentContainer method getExtendedChunkInfo.
@SneakyThrows
@Override
public CompletableFuture<List<ExtendedChunkInfo>> getExtendedChunkInfo(String streamSegmentName, Duration timeout) {
val chunkedSegmentStorage = (ChunkedSegmentStorage) storage;
UtilsWrapper wrapper = new UtilsWrapper(chunkedSegmentStorage, BUFFER_SIZE, timeout);
return wrapper.getExtendedChunkInfoList(streamSegmentName, true);
}
Aggregations