Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-core: Move LeadershipListenerGroup for reusability
Motivation: The LeadershipListenerGroup is used to notify several components of leadership changes via the HAServiceLeadershipManager for the HA Cleaner service. In order to reuse it for other services, it is useful for the class to be located in a central place. Modification: Moved the LeadershipListenerGroup class to dcache-core, where the HAServiceLeadershipManager and CuratorFrameworkAware interface resides. Result: Reusing the LeadershipListenerGroup for other services is possible. High availability as implemented for the Cleaner service can be transferred to other services. Addition to patch #12441. Target: master Requires-notes: no Requires-book: no Patch: https://rb.dcache.org/r/12443/ Acked-by: Albert Rossi
- Loading branch information