com.twitter.finagle

Resolver

object Resolver

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Resolver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  10. def eval(name: String): Name

    Parse and evaluate the argument into a Name.

    Parse and evaluate the argument into a Name. Eval parses a simple grammar: a scheme is followed by a bang, followed by an argument: name := scheme ! arg The scheme is looked up from registered Resolvers, and the argument is passed in.

    Eval throws exceptions upon failure to parse the name, or on failure to scheme lookup. Since names are late bound, binding failures are deferred.

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def get[T <: Resolver](clazz: Class[T]): Option[T]

  13. final def getClass(): Class[_]

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

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

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

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

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

    Resolve a group from an address, a string.

    Resolve a group from an address, a string. Resolve uses Resolvers to do this. These are loaded via the Java ServiceLoader mechanism. The default resolver is "inet", resolving DNS name/port pairs.

    Target names have a simple grammar: The name of the resolver precedes the name of the address to be resolved, separated by an exclamation mark ("bang"). For example: inet!twitter.com:80 resolves the name "twitter.com:80" using the "inet" resolver. If no resolver name is present, the inet resolver is used.

    Names resolved by this mechanism are also a com.twitter.finagle.NamedGroup. By default, this name is simply the addr string, but it can be overriden by prefixing a name separated by an equals sign from the rest of the addr. For example, the addr "www=inet!google.com:80" resolves "google.com:80" with the inet resolver, but the returned group's com.twitter.finagle.NamedGroup name is "www".

    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use Resolver.eval

Inherited from AnyRef

Inherited from Any

Ungrouped