All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avsystem.commons.redis.monitoring.ClusterStateObserver.scala Maven / Gradle / Ivy

There is a newer version: 2.22.0
Show 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