public static class StripeStoreFlusher.SizeStripeFlushRequest extends StripeStoreFlusher.StripeFlushRequest
Modifier and Type | Field and Description |
---|---|
private int |
targetCount |
private long |
targetKvs |
Constructor and Description |
---|
StripeStoreFlusher.SizeStripeFlushRequest(int targetCount,
long targetKvs) |
public StripeStoreFlusher.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
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.