ivankelly commented on issue #765: Add `isClosed()` to WriteHandle and 
ReadHandle
URL: https://github.com/apache/bookkeeper/issues/765#issuecomment-347568436
 
 
   @sijie
   1. does the WriteHandle need this?
   2. Perhaps we should rename this operation? To something like isSealed(), 
and also change WriteHandle#close() to WriteHandle#seal, and then (as I 
suggested in #774 add ReadHandle#forceSealed). Closing implies releasing of 
resources, while the actual operation itself is mutating state in the 
distributed system. I don't think it actually even releases any resources.

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