Class

com.twitter.finagle.serverset2

Zk2Resolver

Related Doc: package serverset2

Permalink

class Zk2Resolver extends Resolver

A com.twitter.finagle.Resolver for the "zk2" service discovery scheme.

Resolution is achieved by looking up registered ServerSet paths within a service discovery ZooKeeper cluster. See Zk2Resolver.bind for details.

Linear Supertypes
Resolver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Zk2Resolver
  2. Resolver
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Zk2Resolver()

    Permalink
  2. new Zk2Resolver(statsReceiver: StatsReceiver)

    Permalink
  3. new Zk2Resolver(statsReceiver: StatsReceiver, removalWindow: Duration, batchWindow: Duration, unhealthyWindow: Duration)

    Permalink
  4. new Zk2Resolver(statsReceiver: StatsReceiver, removalWindow: Duration, batchWindow: Duration, unhealthyWindow: Duration, timer: Timer)

    Permalink
  5. new Zk2Resolver(statsReceiver: StatsReceiver, removalWindow: Duration, batchWindow: Duration, unhealthyWindow: Duration, inetResolver: InetResolver, timer: Timer)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(arg: String): Var[Addr]

    Permalink

    Bind a string into a variable address using the zk2 scheme.

    Bind a string into a variable address using the zk2 scheme.

    Argument strings must adhere to either of the following formats:

    zk2!<hosts>:2181!<path> zk2!<hosts>:2181!<path>!<endpoint>

    where

    - <hosts>: The hostname(s) of service discovery ZooKeeper cluster - <path>: A ServerSet path (e.g. /twitter/service/userservice/prod/server) - <endpoint>: An endpoint name (optional)

    Definition Classes
    Zk2Resolver → Resolver
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. val scheme: String

    Permalink
    Definition Classes
    Zk2Resolver → Resolver
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def resolve(name: String): Try[Group[SocketAddress]]

    Permalink
    Definition Classes
    Resolver
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use Resolver.bind

Inherited from Resolver

Inherited from AnyRef

Inherited from Any

Ungrouped