Package

com.twitter.finagle

zookeeper

Permalink

package zookeeper

Visibility
  1. Public
  2. All

Type Members

  1. class ZkAnnouncer extends Announcer

    Permalink

    When announcing an endpoint with additional endpoints they all need to join the path together.

    When announcing an endpoint with additional endpoints they all need to join the path together. However, announcements are decoupled and can happen in any order. The ZkAnnouncer will gather endpoints together in order to announce them as a group. Main endpoints are required and are thus announced immediately while additional endpoints are only announced if the path also has a main endpoint. For this reason if a main endpoint is announced first and an additional endpoint announced later, the announcer must leave the path and re-announce. The process is similar: leave the path, then remove either the additional endpoint or the main endpoint, re-join only if the main endpoint exists.

  2. class ZkAnnouncerException extends Exception

    Permalink

    Indicates that a failure occurred while attempting to announce the server using a com.twitter.finagle.zookeeper.ZkAnnouncer.

  3. class ZkResolver extends Resolver

    Permalink
  4. class ZkResolverException extends Exception

    Permalink

    Indicates that a failure occurred while attempting to resolve a cluster using a com.twitter.finagle.zookeeper.ZkAnnouncer.

Ungrouped