Package io.datarouter.bytes.kvfile
Interface KvFileStorage
public interface KvFileStorage
-
Method Summary
Modifier and TypeMethodDescriptionvoidlist()byte[]readInputStream(String name) io.datarouter.scanner.Scanner<byte[]>readParallel(String name, long fromInclusive, long toExclusive, io.datarouter.scanner.Threads threads, ByteLength chunkSize) voidvoidwriteParallel(String name, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads)
-
Method Details
-
list
List<KvFileNameAndSize> list() -
read
-
readInputStream
-
readParallel
io.datarouter.scanner.Scanner<byte[]> readParallel(String name, long fromInclusive, long toExclusive, io.datarouter.scanner.Threads threads, ByteLength chunkSize) -
write
-
writeParallel
-
delete
-