apache / distributedlog

Apache DistributedLog
Apache License 2.0
185 stars 74 forks source link

Namespace should implement AutoCloseable #173

Closed sijie closed 6 years ago

sijie commented 7 years ago

FEATURE REQUEST

  1. Please describe the feature you are requesting.

Current Namespace has its own close method. It would be great to extend AutoCloseable, to leverage java8 feature for releasing resource in try-catch block

  1. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

blocker

  1. Provide any additional detail on your proposed use case for this feature.

N/A

sijie commented 6 years ago

This is fixed at #215 (by @ArvinDevel )