
com.avsystem.commons.redis.monitoring.SentinelStateObserver.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-redis_2.13 Show documentation
Show all versions of commons-redis_2.13 Show documentation
AVSystem commons library for Scala
package com.avsystem.commons
package redis.monitoring
import com.avsystem.commons.redis.NodeAddress
import com.avsystem.commons.redis.RedisMasterSlaveClient
/**
* Intended for monitoring [[RedisMasterSlaveClient]]'s state and connections.
* Should be non-blocking and handle internal exceptions by itself.
*/
trait SentinelStateObserver extends ConnectionStateObserver {
def onMasterChange(master: NodeAddress): Unit
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy