Package

com.crobox.clickhouse

balancing

Permalink

package balancing

Visibility
  1. Public
  2. All

Type Members

  1. case class ClusterAwareHostBalancer(host: Uri, cluster: String = "cluster", manager: ActorRef, provider: ActorRef, scanningInterval: FiniteDuration)(implicit system: ActorSystem, connectionRetrievalTimeout: Timeout) extends HostBalancer with Product with Serializable

    Permalink

    Host balancer that does a round robin on all the entries found in the system.clusters table.

    Host balancer that does a round robin on all the entries found in the system.clusters table. It assumes that the service itself can access directly the clickhouse nodes and that the default port 8123 is used for every node.

  2. trait HostBalancer extends LazyLogging

    Permalink
  3. case class MultiHostBalancer(hosts: Set[Uri], manager: ActorRef)(implicit system: ActorSystem) extends HostBalancer with ClickhouseHostBuilder with Product with Serializable

    Permalink
  4. case class SingleHostBalancer(host: Uri) extends HostBalancer with Product with Serializable

    Permalink

    The default host balancer which always provides the same host.

Value Members

  1. object Connection

    Permalink
  2. object HostBalancer extends ClickhouseHostBuilder

    Permalink
  3. package discovery

    Permalink
  4. package iterator

    Permalink

Ungrouped