thetumbled commented on code in PR #4161:
URL: https://github.com/apache/bookkeeper/pull/4161#discussion_r1433837408
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/storage/EntryLogScanner.java:
##########
@@ -27,6 +27,10 @@
* Scan entries in a entry log file.
*/
public interface EntryLogScanner {
+ public static final int READ_ALL = Integer.MAX_VALUE;
+ public static final int READ_NOTHING = 0;
+ public static final int READ_LEDGER_ENTRY_ID = 16;
Review Comment:
good idea, i have introduced the enum.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]