
com.avsystem.commons.redis.monitoring.ClusterStateObserver.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
The newest version!
package com.avsystem.commons
package redis.monitoring
import com.avsystem.commons.redis.RedisClusterClient
/**
* Intended for monitoring [[RedisClusterClient]]'s connections.
* Should be non-blocking and handle internal exceptions by itself.
*/
trait ClusterStateObserver extends ConnectionStateObserver {
def onClusterRefresh(): Unit
def onClusterRefreshFailure(): Unit
def onClusterInitialized(): Unit
def onClusterInitFailure(): Unit
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy