sijie commented on a change in pull request #742: Issue-744 BP-18 introduce 
write flags
URL: https://github.com/apache/bookkeeper/pull/742#discussion_r153600223
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/api/CreateBuilder.java
 ##########
 @@ -91,6 +93,26 @@
      */
     CreateBuilder withDigestType(DigestType digestType);
 
+    /**
+     * Set write flags. Write wlags specify the behaviour of writes
+     *
+     * @param writeFlags the flags
+     *
+     * @return the builder itself
+     */
+    CreateBuilder withWriteFlags(EnumSet<WriteFlag> writeFlags);
 
 Review comment:
   I am not sure though. Coming from a storage perspective, `withWriteFlags` is 
more close to a storage behavior. We have many rounds discussing how the API 
looks like towards an extensible interface for WriteFlags, ReadFlags and 
StorageHints. I would prefer stick to what we have agreed on.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to