dulceanu commented on a change in pull request #280:
URL: https://github.com/apache/jackrabbit-oak/pull/280#discussion_r586323006
##########
File path:
oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStoreBuilder.java
##########
@@ -396,6 +401,17 @@ public FileStoreBuilder withEagerSegmentCaching(boolean
eagerSegmentCaching) {
this.eagerSegmentCaching = eagerSegmentCaching;
return this;
}
+
+ /**
+ * Sets the threshold under which binaries are inlined in data segments.
+ * @param binariesInlineThreshold the threshold
+ * @return this instance
+ */
+ public FileStoreBuilder withBinariesInlineThreshold(int
binariesInlineThreshold) {
+ checkArgument(binariesInlineThreshold <= Segment.MEDIUM_LIMIT);
Review comment:
I added that check as well, thanks for chiming in!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]