public static class StripeStoreFlusher.SizeStripeFlushRequest extends StripeStoreFlusher.StripeFlushRequest
Constructor and Description |
---|
SizeStripeFlushRequest(int targetCount,
long targetKvs) |
Modifier and Type | Method and Description |
---|---|
StripeMultiFileWriter |
createWriter() |
public SizeStripeFlushRequest(int targetCount, long targetKvs)
targetCount
- The maximum number of stripes to flush into.targetKvs
- The KV count of each segment. If targetKvs*targetCount is less than
total number of kvs, all the overflow data goes into the last stripe.public StripeMultiFileWriter createWriter() throws IOException
createWriter
in class StripeStoreFlusher.StripeFlushRequest
IOException