GetMaintNotificationsManager returns the maintnotifications manager instance for monitoring and control. Returns nil if maintnotifications are not enabled.
()
| 1464 | // GetMaintNotificationsManager returns the maintnotifications manager instance for monitoring and control. |
| 1465 | // Returns nil if maintnotifications are not enabled. |
| 1466 | func (c *Client) GetMaintNotificationsManager() *maintnotifications.Manager { |
| 1467 | c.maintNotificationsManagerLock.RLock() |
| 1468 | defer c.maintNotificationsManagerLock.RUnlock() |
| 1469 | return c.maintNotificationsManager |
| 1470 | } |
| 1471 | |
| 1472 | // initializePushProcessor initializes the push notification processor for any client type. |
| 1473 | // This is a shared helper to avoid duplication across NewClient, NewFailoverClient, and NewSentinelClient. |
no outgoing calls