Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
0.23.0, 2.0.0-alpha
-
None
-
None
Description
Currently there is no limit on the number of times a listener can register for events; it's a simple list. A service must unregister the same number of times that it registers.
Is this the desired behaviour? If so it should be documented in the Service interface rather than just implicitly in the AbstractService implementation.
Attachments
Issue Links
- duplicates
-
YARN-746 rename Service.register() and Service.unregister() to registerServiceListener() & unregisterServiceListener() respectively
- Closed