sijie commented on issue #765: Add `isClosed()` to WriteHandle and ReadHandle
URL: https://github.com/apache/bookkeeper/issues/765#issuecomment-347646937
 
 
   1. `WriteHandle` probably doesn't need this.
   
   2. +1 for renaming it to `isSealed()`. I am not sure renaming 
`WriteHandle#close()` to `WriteHandle#seal()`, using #close() on WriteHandle 
has very clear definition, it doesn't actually cause confusion. sticking to 
#close() will gain all the syntactic sugar with `AutoClosable`.

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