java.nio.channels.MembershipKey API
David M. Lloyd
david.lloyd at redhat.com
Wed Nov 26 16:06:36 PST 2008
Ressurrecting this old thread - I have one additional comment about the
MembershipKey interface. Rather than have drop()/isValid(), why not extend
Channel (or at least Closeable) and have close()/isOpen() instead? This
way any code which has a common resource cleanup mechanism based on
Closeable will be able to clean up MembershipKeys in the same way.
- DML
More information about the nio-dev
mailing list