sijie commented on a change in pull request #814: Issue 568: Refactor 
EntryLoggerAllocator to enable preallocation
URL: https://github.com/apache/bookkeeper/pull/814#discussion_r155138234
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java
 ##########
 @@ -493,6 +494,12 @@ void createNewLog() throws IOException {
         currentDir = logChannel.getLogFile().getParentFile();
     }
 
+    /**
+     * get EntryLoggerAllocator, Just for tests.
+     */
+    protected EntryLoggerAllocator getEntryLoggerAllocator() {
 
 Review comment:
   nit: you can remove `protected` to make this method package private, because 
the test and class are in the same package.

----------------------------------------------------------------
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