Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package twitter

    Start with com.twitter.finagle.

    Definition Classes
    com
  • package finagle

    Finagle is an extensible RPC system.

    Finagle is an extensible RPC system.

    Services are represented by class com.twitter.finagle.Service. Clients make use of com.twitter.finagle.Service objects while servers implement them.

    Finagle contains a number of protocol implementations; each of these implement Client and/or com.twitter.finagle.Server. For example, Finagle's HTTP implementation, com.twitter.finagle.Http (in package finagle-http), exposes both.

    Thus a simple HTTP server is built like this:

    import com.twitter.finagle.{Http, Service}
    import com.twitter.finagle.http.{Request, Response}
    import com.twitter.util.{Await, Future}
    
    val service = new Service[Request, Response] {
      def apply(req: Request): Future[Response] =
        Future.value(Response())
    }
    val server = Http.server.serve(":8080", service)
    Await.ready(server)

    We first define a service to which requests are dispatched. In this case, the service returns immediately with a HTTP 200 OK response, and with no content.

    This service is then served via the Http protocol on TCP port 8080. Finally we wait for the server to stop serving.

    We can now query our web server:

    % curl -D - localhost:8080
    HTTP/1.1 200 OK

    Building an HTTP client is also simple. (Note that type annotations are added for illustration.)

    import com.twitter.finagle.{Http, Service}
    import com.twitter.finagle.http.{Request, Response}
    import com.twitter.util.{Future, Return, Throw}
    
    val client: Service[Request, Response] = Http.client.newService("localhost:8080")
    val f: Future[Response] = client(Request()).respond {
      case Return(rep) =>
        printf("Got HTTP response %s\n", rep)
      case Throw(exc) =>
        printf("Got error %s\n", exc)
    }

    Http.client.newService("localhost:8080") constructs a new com.twitter.finagle.Service instance connected to localhost TCP port 8080. We then issue a HTTP/1.1 GET request to URI "/". The service returns a com.twitter.util.Future representing the result of the operation. We listen to this future, printing an appropriate message when the response arrives.

    The Finagle homepage contains useful documentation and resources for using Finagle.

    Definition Classes
    twitter
  • package addr
    Definition Classes
    finagle
  • package builder
    Definition Classes
    finagle
  • package client
    Definition Classes
    finagle
  • package context
    Definition Classes
    finagle
  • package core
    Definition Classes
    finagle
  • package dispatch
    Definition Classes
    finagle
  • package exception
    Definition Classes
    finagle
  • package exp

    Package exp contains experimental code.

    Package exp contains experimental code. This can be removed or stabilized (moved elsewhere) at any time.

    Definition Classes
    finagle
  • package factory
    Definition Classes
    finagle
  • package filter
    Definition Classes
    finagle
  • package http
    Definition Classes
    finagle
  • package http2
    Definition Classes
    finagle
  • package httpproxy
    Definition Classes
    finagle
  • package liveness
    Definition Classes
    finagle
  • package loadbalancer

    This package implements client side load balancing algorithms.

    This package implements client side load balancing algorithms.

    As an end-user, see the Balancers API to create instances which can be used to configure a Finagle client with various load balancing strategies.

    As an implementor, each algorithm gets its own subdirectory and is exposed via the Balancers object. Several convenient traits are provided which factor out common behavior and can be mixed in (i.e. Balancer, DistributorT, NodeT, and Updating).

    Definition Classes
    finagle
  • package memcached
    Definition Classes
    finagle
  • package mux

    Package mux implements a generic RPC multiplexer with a rich protocol.

    Package mux implements a generic RPC multiplexer with a rich protocol. Mux is itself encoding independent, so it is meant to use as the transport for other RPC systems (eg. thrift). In OSI terminology, it is a pure session layer.

    In the below description, all numeric values are unsigned and in big-endian byte order. The schema size:4 body:10 defines the field size to be 4 bytes, followed by 10 bytes of the field body. The schema key~4 defines the field key to be defined by 4 bytes interpreted as the size of the field, followed by that many bytes comprising the field itself--it is shorthand for keysize:4 key:keysize. Groups are denoted by parenthesis; * denotes repetition of the previous schema 0 or more times, while {n} indicates repetition exactly n times. Unspecified sizes consume the rest of the frame: they may be specified only as the last field in the message.

    All strings in Mux are Utf-8 encoded, and are never null-terminated.

    Message framing

    Messages in mux are framed with a 4-byte big-endian size header, followed by 1 byte describing the message type and a 3-byte tag; or, diagrammatically: size:4 type:1 tag:3. The remainder of the frame (size-4 bytes) contains the body. Its format depends on the message type, documented below.

    Tag 0 designates a "marker" T message that expects no reply. Some messages may be split into an ordered sequence of fragments. Tag MSB=0 denotes the last message in such a sequence, making the tag namespace 23 bits. The tag is otherwise arbitrary, and is chosen by the sender of the T message.

    Currently, only Tdispatch and Rdispatch messages may be split into an ordered sequence of fragments. TdispatchError message ends a Tdispatch sequence and an Rerr ends an Rdispatch sequence.

    Message types, interpreted as a two's complement, 1-byte integer are numbered as follows: positive numbers are T-messages; their negative complement is the corresponding R message. T-messages greater than 63 (correspondingly R-messages smaller than -63) are session messages. The message number -128 is reserved for Rerr. All other messages are application messages. Middle boxes may forward application messages indiscriminately. Because of an early implementation bug, two aliases exist: 127 is Rerr, and -62 is Tdiscarded.

    The protocol is full duplex: both the server and client may send T messages initiating an exchange.

    Exchanges

    Messages are designated as "T messages" or "R messages", T and R being stand-ins for transmit and receive. A T message initiates an exchange and is assigned a free tag by the sender. A reply is either an R message of the same type (Rx replies to Tx for some x), or an Rerr, indicating a session layer error. R messages are matched to their T messages by tag, and the reply concludes the exchange and frees the tag for future use. Implementations should reuse small tag numbers.

    Messages

    size:4 Tinit:1 tag:3 version:2 (key~4 value~4)* reinitializes a session. Clients typically send this at the beginning of the session. When doing so, the sender may issue no more T messages until the corresponding size:4 Rinit:1 tag:3 version:2 (key~4 value~4)* has been received. After the Rinit was received, all connection state has been reset (outstanding tags are invalidated) and the stream is resumed according to the newly negotiated parameters. Prior to the first Tinit, the session operates at version 1. Rinit's version field is the accepted version of the session (which may be lower than the one requested by Tinit).

    size:4 Treq:1 tag:3 n:1 (key:1 value~1){n} body: initiates the request described by its body. The request body is delivered to the application. The request header contains a number of key-value pairs that describe request metadata.

    Keys for Treq messages are as follows:

    1. traceid: a 24-byte value describing the full Dapper trace id assigned by the client. The value's format is spanid:8 parentid:8 traceid:8.

    2. traceflag: a bitmask describing trace flags. Currently, the only defined flag is bit 0 which enables "debug mode", asking the server to force trace sampling.

    size:4 Tdispatch:1 tag:3 nctx:2 (ckey~2 cval~2){nc} dst~2 nd:2 (from~2 to~2){nd} body: implements destination dispatch. Tdispatch messages carry a set of keyed request contexts, followed by a logical destination encoded as a UTF-8 string. A delegation table follows describing rewrite rules that apply to this request.

    size:4 Rreq:1 tag:3 status:1 body: replies to a request. Status codes are as follows: 0=OK; the body contains the reply. 1=ERROR; the body contains a string describing the error. 2=NACK; a negative acknowledgment, the body contains a string describing the reason.

    size:4 Rdispatch:1 tag:3 status:1 nctx:2 (key~2 value~2){nctx} body: replies to a Tdispatch request. Status codes are as in Rreq. Replies can include request contexts. MuxFailure flags are currently sent via Rdispatch contexts under the "MuxFailure" key. See the MuxFailure flags section below.

    size:4 Rerr:1 tag:3 why: indicates that the corresponding T message produced an error. Rerr is specifically for server errors: the server failed to interpret or act on the message. The body carries a string describing the error.

    size:4 Tdrain:1 tag:3 is a request sent by the server telling the client to stop sending new requests. A client acknowledges this with an Rdrain message.

    size:4 Tping:1 tag:3 is sent by either party to check the liveness of its peer; these should be responded to immediately with a Rping message.

    size:4 Tdiscarded:1 tag:3 discard_tag:3 why: is a marker message and therefore has a tag value of 0. discard_tag indicates the tag of the Tdispatch to be discarded by the client. This can be used as a hint for early termination. Why is a string describing why the request was discarded. Note that it does *not* free the server from the obligation of replying to the original Treq.

    size:4 Tlease:1 tag:3 unit:1 howmuch:8 is a marker message indicating that a lease has been issued for howmuch units. As a marker message, its tag value must be 0. Unit '0' is reserved for duration in milliseconds. Whenever a lease has not been issued, a client can assume it holds an indefinite lease. Adhering to the lease is optional, but the server may reject requests or provide degraded service should the lease expire. This is used by servers to implement features like garbage collection avoidance.

    MuxFailure Flags

    Failure flags are read and written as an 8 byte integer. Unrecognized flags will be ignored silently, but should all be considered reserved for future use.

    Flag Value Meaning Restartable 1 << 0 Request is safe to re-issue Rejected 1 << 1 Request was rejected/Nacked by the server NonRetryable 1 << 2 Request should not be retried

    Definition Classes
    finagle
  • package mysql
    Definition Classes
    finagle
  • package namer
    Definition Classes
    finagle
  • package naming
    Definition Classes
    finagle
  • package netty3

    Package netty3 implements the bottom finagle primitives: {{com.twitter.finagle.Server}} and a client transport in terms of the netty3 event loop.

    Package netty3 implements the bottom finagle primitives: {{com.twitter.finagle.Server}} and a client transport in terms of the netty3 event loop.

    Note: when {{com.twitter.finagle.builder.ClientBuilder}} and {{com.twitter.finagle.builder.ServerBuilder}} are deprecated, package netty3 can move into its own package, so that only the (new-style) clients and servers that depend on netty3 bring it in.

    Definition Classes
    finagle
  • package netty4

    Package netty4 implements the bottom finagle primitives: com.twitter.finagle.Server and a client transport in terms of the netty4 event loop.

    Package netty4 implements the bottom finagle primitives: com.twitter.finagle.Server and a client transport in terms of the netty4 event loop.

    Definition Classes
    finagle
  • package param

    Defines common com.twitter.finagle.Stack.Param's shared between finagle clients and servers.

    Defines common com.twitter.finagle.Stack.Param's shared between finagle clients and servers.

    Definition Classes
    finagle
  • package pool
    Definition Classes
    finagle
  • package redis
    Definition Classes
    finagle
  • package server
    Definition Classes
    finagle
  • package serverset2
    Definition Classes
    finagle
  • package service
    Definition Classes
    finagle
  • package socks
    Definition Classes
    finagle
  • package ssl
    Definition Classes
    finagle
  • package stats
    Definition Classes
    finagle
  • package thrift

    Please use the new interface, com.twitter.finagle.Thrift, for constructing Thrift clients and servers.

    Deprecation

    Please use the new interface, com.twitter.finagle.Thrift, for constructing Thrift clients and servers.

    Thrift codecs

    We provide client and server protocol support for the framed protocol. The public implementations are defined on the Thrift object:

    The type of the server codec is Service[Array[Byte], Array[Byte]] and the client codecs are Service[ThriftClientRequest, Array[Byte]]. The service provided is that of a "transport" of thrift messages (requests and replies) according to the protocol chosen. This is why the client codecs need to have access to a thrift ProtocolFactory.

    These transports are used by the services produced by the finagle thrift codegenerator.

    val service: Service[ThriftClientRequest, Array[Byte]] = ClientBuilder()
      .hosts("foobar.com:123")
      .stack(Thrift.client)
      .build()
    
    // Wrap the raw Thrift transport in a Client decorator. The client
    // provides a convenient procedural interface for accessing the Thrift
    // server.
    val client = new Hello.ServiceToClient(service, protocolFactory)

    In this example, Hello is the thrift interface, and the inner class ServiceToClient is provided by the finagle thrift code generator.

    Definition Classes
    finagle
  • package thriftmux
    Definition Classes
    finagle
  • package toggle
    Definition Classes
    finagle
  • package tracing
    Definition Classes
    finagle
  • package transport
    Definition Classes
    finagle
  • package tunable
    Definition Classes
    finagle
  • package util
    Definition Classes
    finagle
  • package zipkin
    Definition Classes
    finagle
  • package zookeeper
    Definition Classes
    finagle
  • AbstractCodec
  • AbstractNamer
  • AbstractResolver
  • Addr
  • Address
  • Addresses
  • Addrs
  • Announcement
  • Announcer
  • AnnouncerForumInvalid
  • AnnouncerNotFoundException
  • ApiException
  • BackupRequestLost
  • CanStackFrom
  • CancelledConnectionException
  • CancelledRequestException
  • ChannelBufferUsageException
  • ChannelClosedException
  • ChannelException
  • ChannelWriteException
  • Client
  • ClientCodecConfig
  • ClientConnection
  • Codec
  • CodecFactory
  • ConnectionFailedException
  • ConnectionRefusedException
  • Dentry
  • DroppedWriteException
  • Dtab
  • DtabBuilder
  • FactoryToService
  • FailResolver
  • FailedFastException
  • Failure
  • FailureFlags
  • Filter
  • FinagleInit
  • FixedInetResolver
  • GlobalRequestTimeoutException
  • Group
  • HasRemoteInfo
  • Http
  • HttpRichClient
  • InconsistentStateException
  • IndividualRequestTimeoutException
  • InetResolver
  • LabelledGroup
  • ListeningServer
  • Memcached
  • MemcachedRichClient
  • MultipleAnnouncersPerSchemeException
  • MultipleResolversPerSchemeException
  • MutableGroup
  • Mux
  • MySqlClientTracingFilter
  • Mysql
  • MysqlRichClient
  • Name
  • NameTree
  • Namer
  • NegResolver
  • NilResolver
  • NoBrokersAvailableException
  • NotServableException
  • NotShardableException
  • NullServer
  • Path
  • ProxyAnnouncement
  • ProxyConnectException
  • ReadTimedOutException
  • Redis
  • RedisRichClient
  • RefusedByRateLimiter
  • RequestException
  • RequestTimeoutException
  • Resolver
  • ResolverAddressInvalid
  • ResolverNotFoundException
  • Resolvers
  • Server
  • ServerCodecConfig
  • Service
  • ServiceClosedException
  • ServiceException
  • ServiceFactory
  • ServiceFactoryProxy
  • ServiceFactoryWrapper
  • ServiceNamer
  • ServiceNotAvailableException
  • ServiceProxy
  • ServiceTimeoutException
  • ShardNotAvailableException
  • SimpleFilter
  • SourcedException
  • SslHandshakeException
  • SslHostVerificationException
  • SslVerificationFailedException
  • Stack
  • StackBuilder
  • StackParams
  • Stackable
  • Status
  • StreamClosedException
  • Thrift
  • ThriftMux
  • ThriftRichClient
  • ThriftRichServer
  • TimeoutException
  • TooManyConcurrentRequestsException
  • TooManyWaitersException
  • TransportException
  • UnknownChannelException
  • WriteException
  • WriteTimedOutException
  • stack

case class Dtab(dentries0: IndexedSeq[Dentry]) extends IndexedSeq[Dentry] with Product with Serializable

A Dtab--short for delegation table--comprises a sequence of delegation rules. Together, these describe how to bind a com.twitter.finagle.Path to a set of com.twitter.finagle.Addr. com.twitter.finagle.naming.DefaultInterpreter implements the default binding stategy.

See also

The user guide for further details.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dtab
  2. Serializable
  3. Serializable
  4. Product
  5. IndexedSeq
  6. IndexedSeqLike
  7. Seq
  8. SeqLike
  9. GenSeq
  10. GenSeqLike
  11. Iterable
  12. IterableLike
  13. Equals
  14. GenIterable
  15. GenIterableLike
  16. Traversable
  17. GenTraversable
  18. GenericTraversableTemplate
  19. TraversableLike
  20. GenTraversableLike
  21. Parallelizable
  22. TraversableOnce
  23. GenTraversableOnce
  24. FilterMonadic
  25. HasNewBuilder
  26. PartialFunction
  27. Function1
  28. AnyRef
  29. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Dtab(dentries0: IndexedSeq[Dentry])

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = IndexedSeq[Dentry]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(dentry: Dentry): Dtab

    Construct a new Dtab with the given delegation entry appended.

  4. def ++(dtab: Dtab): Dtab

    Construct a new Dtab with the given dtab appended.

  5. def ++[B >: Dentry, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: Dentry, That](that: Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike
  7. def ++:[B >: Dentry, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike
  8. def +:[B >: Dentry, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  9. def /:[B](z: B)(op: (B, Dentry) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :+[B >: Dentry, That](elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  11. def :\[B](z: B)(op: (Dentry, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  16. def aggregate[B](z: ⇒ B)(seqop: (B, Dentry) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def andThen[C](k: (Dentry) ⇒ C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  18. def append(dentry: Dentry): Dtab

    Java API for '+'

  19. def apply(i: Int): Dentry
    Definition Classes
    Dtab → SeqLike → GenSeqLike → Function1
  20. def applyOrElse[A1 <: Int, B1 >: Dentry](x: A1, default: (A1) ⇒ B1): B1
    Definition Classes
    PartialFunction
  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  23. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  24. def collect[B, That](pf: PartialFunction[Dentry, B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  25. def collectFirst[B](pf: PartialFunction[Dentry, B]): Option[B]
    Definition Classes
    TraversableOnce
  26. def combinations(n: Int): Iterator[IndexedSeq[Dentry]]
    Definition Classes
    SeqLike
  27. def companion: GenericCompanion[IndexedSeq]
    Definition Classes
    IndexedSeq → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  28. def compose[A](g: (A) ⇒ Int): (A) ⇒ Dentry
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  29. def concat(dtab: Dtab): Dtab

    Java API for '++'

  30. def contains[A1 >: Dentry](elem: A1): Boolean
    Definition Classes
    SeqLike
  31. def containsSlice[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike
  32. def copyToArray[B >: Dentry](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  33. def copyToArray[B >: Dentry](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  34. def copyToArray[B >: Dentry](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def copyToBuffer[B >: Dentry](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  36. def corresponds[B](that: GenSeq[B])(p: (Dentry, B) ⇒ Boolean): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  37. def count(p: (Dentry) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. val dentries0: IndexedSeq[Dentry]
  39. def diff[B >: Dentry](that: GenSeq[B]): IndexedSeq[Dentry]
    Definition Classes
    SeqLike → GenSeqLike
  40. def distinct: IndexedSeq[Dentry]
    Definition Classes
    SeqLike → GenSeqLike
  41. def drop(n: Int): IndexedSeq[Dentry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  42. def dropRight(n: Int): IndexedSeq[Dentry]
    Definition Classes
    IterableLike
  43. def dropWhile(p: (Dentry) ⇒ Boolean): IndexedSeq[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  44. def endsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(that: Any): Boolean
    Definition Classes
    GenSeqLike → Equals → Any
  47. def exists(p: (Dentry) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def filter(p: (Dentry) ⇒ Boolean): IndexedSeq[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  49. def filterNot(p: (Dentry) ⇒ Boolean): IndexedSeq[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  50. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  51. def find(p: (Dentry) ⇒ Boolean): Option[Dentry]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  52. def flatMap[B, That](f: (Dentry) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  53. def flatten[B](implicit asTraversable: (Dentry) ⇒ GenTraversableOnce[B]): IndexedSeq[B]
    Definition Classes
    GenericTraversableTemplate
  54. def fold[A1 >: Dentry](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def foldLeft[B](z: B)(op: (B, Dentry) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def foldRight[B](z: B)(op: (Dentry, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  57. def forall(p: (Dentry) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  58. def foreach[U](f: (Dentry) ⇒ U): Unit
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  59. def genericBuilder[B]: Builder[B, IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
  60. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  61. def groupBy[K](f: (Dentry) ⇒ K): Map[K, IndexedSeq[Dentry]]
    Definition Classes
    TraversableLike → GenTraversableLike
  62. def grouped(size: Int): Iterator[IndexedSeq[Dentry]]
    Definition Classes
    IterableLike
  63. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  64. def hashCode(): Int
    Definition Classes
    IndexedSeqLike → GenSeqLike → Any
  65. def head: Dentry
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  66. def headOption: Option[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  67. def indexOf[B >: Dentry](elem: B, from: Int): Int
    Definition Classes
    GenSeqLike
  68. def indexOf[B >: Dentry](elem: B): Int
    Definition Classes
    GenSeqLike
  69. def indexOfSlice[B >: Dentry](that: GenSeq[B], from: Int): Int
    Definition Classes
    SeqLike
  70. def indexOfSlice[B >: Dentry](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  71. def indexWhere(p: (Dentry) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  72. def indexWhere(p: (Dentry) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  73. def indices: Range
    Definition Classes
    SeqLike
  74. def init: IndexedSeq[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  75. def inits: Iterator[IndexedSeq[Dentry]]
    Definition Classes
    TraversableLike
  76. def intersect[B >: Dentry](that: GenSeq[B]): IndexedSeq[Dentry]
    Definition Classes
    SeqLike → GenSeqLike
  77. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    GenSeqLike
  78. def isEmpty: Boolean
    Definition Classes
    Dtab → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  79. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  80. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  81. def iterator: Iterator[Dentry]
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  82. def last: Dentry
    Definition Classes
    TraversableLike → GenTraversableLike
  83. def lastIndexOf[B >: Dentry](elem: B, end: Int): Int
    Definition Classes
    GenSeqLike
  84. def lastIndexOf[B >: Dentry](elem: B): Int
    Definition Classes
    GenSeqLike
  85. def lastIndexOfSlice[B >: Dentry](that: GenSeq[B], end: Int): Int
    Definition Classes
    SeqLike
  86. def lastIndexOfSlice[B >: Dentry](that: GenSeq[B]): Int
    Definition Classes
    SeqLike
  87. def lastIndexWhere(p: (Dentry) ⇒ Boolean, end: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  88. def lastIndexWhere(p: (Dentry) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  89. def lastOption: Option[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  90. def length: Int
    Definition Classes
    Dtab → SeqLike → GenSeqLike
  91. def lengthCompare(len: Int): Int
    Definition Classes
    SeqLike
  92. def lift: (Int) ⇒ Option[Dentry]
    Definition Classes
    PartialFunction
  93. def lookup(path: Path): NameTree[Name.Path]

    Lookup the given path with this dtab.

  94. def map[B, That](f: (Dentry) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  95. def max[B >: Dentry](implicit cmp: Ordering[B]): Dentry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def maxBy[B](f: (Dentry) ⇒ B)(implicit cmp: Ordering[B]): Dentry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def min[B >: Dentry](implicit cmp: Ordering[B]): Dentry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def minBy[B](f: (Dentry) ⇒ B)(implicit cmp: Ordering[B]): Dentry
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  103. def newBuilder: Builder[Dentry, IndexedSeq[Dentry]]
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  104. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  106. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  107. def orElse[A1 <: Int, B1 >: Dentry](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  108. def padTo[B >: Dentry, That](len: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  109. def par: ParSeq[Dentry]
    Definition Classes
    Parallelizable
  110. def parCombiner: Combiner[Dentry, ParSeq[Dentry]]
    Attributes
    protected[this]
    Definition Classes
    SeqLike → TraversableLike → Parallelizable
  111. def partition(p: (Dentry) ⇒ Boolean): (IndexedSeq[Dentry], IndexedSeq[Dentry])
    Definition Classes
    TraversableLike → GenTraversableLike
  112. def patch[B >: Dentry, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  113. def permutations: Iterator[IndexedSeq[Dentry]]
    Definition Classes
    SeqLike
  114. def prefixLength(p: (Dentry) ⇒ Boolean): Int
    Definition Classes
    GenSeqLike
  115. def print(printer: PrintWriter): Unit

    Print a pretty representation of this Dtab.

  116. def product[B >: Dentry](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def reduce[A1 >: Dentry](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def reduceLeft[B >: Dentry](op: (B, Dentry) ⇒ B): B
    Definition Classes
    TraversableOnce
  119. def reduceLeftOption[B >: Dentry](op: (B, Dentry) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. def reduceOption[A1 >: Dentry](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def reduceRight[B >: Dentry](op: (Dentry, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  122. def reduceRightOption[B >: Dentry](op: (Dentry, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def repr: IndexedSeq[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  124. def reverse: IndexedSeq[Dentry]
    Definition Classes
    SeqLike → GenSeqLike
  125. def reverseIterator: Iterator[Dentry]
    Definition Classes
    SeqLike
  126. def reverseMap[B, That](f: (Dentry) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  127. def reversed: List[Dentry]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  128. def runWith[U](action: (Dentry) ⇒ U): (Int) ⇒ Boolean
    Definition Classes
    PartialFunction
  129. def sameElements[B >: Dentry](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  130. def scan[B >: Dentry, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  131. def scanLeft[B, That](z: B)(op: (B, Dentry) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  132. def scanRight[B, That](z: B)(op: (Dentry, B) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  133. def segmentLength(p: (Dentry) ⇒ Boolean, from: Int): Int
    Definition Classes
    SeqLike → GenSeqLike
  134. def seq: IndexedSeq[Dentry]
    Definition Classes
    IndexedSeq → IndexedSeqLike → Seq → GenSeq → GenSeqLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  135. def show: String
  136. def simplified: Dtab

    Simplify the Dtab.

    Simplify the Dtab. This returns a functionally equivalent Dtab whose destination name trees have been simplified. The returned Dtab is equivalent with respect to evaluation.

    To do

    collapse entries with common prefixes

    dedup equivalent entries so that only the last entry is retained

  137. def size: Int
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  138. def sizeHintIfCheap: Int
    Attributes
    protected[scala.collection]
    Definition Classes
    IndexedSeqLike → GenTraversableOnce
  139. def slice(from: Int, until: Int): IndexedSeq[Dentry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  140. def sliding(size: Int, step: Int): Iterator[IndexedSeq[Dentry]]
    Definition Classes
    IterableLike
  141. def sliding(size: Int): Iterator[IndexedSeq[Dentry]]
    Definition Classes
    IterableLike
  142. def sortBy[B](f: (Dentry) ⇒ B)(implicit ord: Ordering[B]): IndexedSeq[Dentry]
    Definition Classes
    SeqLike
  143. def sortWith(lt: (Dentry, Dentry) ⇒ Boolean): IndexedSeq[Dentry]
    Definition Classes
    SeqLike
  144. def sorted[B >: Dentry](implicit ord: Ordering[B]): IndexedSeq[Dentry]
    Definition Classes
    SeqLike
  145. def span(p: (Dentry) ⇒ Boolean): (IndexedSeq[Dentry], IndexedSeq[Dentry])
    Definition Classes
    TraversableLike → GenTraversableLike
  146. def splitAt(n: Int): (IndexedSeq[Dentry], IndexedSeq[Dentry])
    Definition Classes
    TraversableLike → GenTraversableLike
  147. def startsWith[B](that: GenSeq[B], offset: Int): Boolean
    Definition Classes
    SeqLike → GenSeqLike
  148. def startsWith[B](that: GenSeq[B]): Boolean
    Definition Classes
    GenSeqLike
  149. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  150. def stripPrefix(prefix: Dtab): Dtab

    Efficiently removes prefix prefix from dtab.

  151. def sum[B >: Dentry](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  152. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  153. def tail: IndexedSeq[Dentry]
    Definition Classes
    TraversableLike → GenTraversableLike
  154. def tails: Iterator[IndexedSeq[Dentry]]
    Definition Classes
    TraversableLike
  155. def take(n: Int): IndexedSeq[Dentry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  156. def takeRight(n: Int): IndexedSeq[Dentry]
    Definition Classes
    IterableLike
  157. def takeWhile(p: (Dentry) ⇒ Boolean): IndexedSeq[Dentry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  158. def thisCollection: IndexedSeq[Dentry]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  159. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Dentry, Col[Dentry]]): Col[Dentry]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  160. def toArray[B >: Dentry](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  161. def toBuffer[A1 >: Dentry]: Buffer[A1]
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  162. def toCollection(repr: IndexedSeq[Dentry]): IndexedSeq[Dentry]
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  163. def toIndexedSeq: IndexedSeq[Dentry]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  164. def toIterable: Iterable[Dentry]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  165. def toIterator: Iterator[Dentry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  166. def toList: List[Dentry]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  167. def toMap[T, U](implicit ev: <:<[Dentry, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  168. def toSeq: Seq[Dentry]
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  169. def toSet[B >: Dentry]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  170. def toStream: Stream[Dentry]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  171. def toString(): String
    Definition Classes
    Dtab → SeqLike → TraversableLike → Function1 → AnyRef → Any
  172. def toTraversable: Traversable[Dentry]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  173. def toVector: Vector[Dentry]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  174. def transpose[B](implicit asTraversable: (Dentry) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  175. def union[B >: Dentry, That](that: GenSeq[B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  176. def unzip[A1, A2](implicit asPair: (Dentry) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    GenericTraversableTemplate
  177. def unzip3[A1, A2, A3](implicit asTriple: (Dentry) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
    Definition Classes
    GenericTraversableTemplate
  178. def updated[B >: Dentry, That](index: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], B, That]): That
    Definition Classes
    SeqLike → GenSeqLike
  179. def view(from: Int, until: Int): SeqView[Dentry, IndexedSeq[Dentry]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  180. def view: SeqView[Dentry, IndexedSeq[Dentry]]
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  181. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  182. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  183. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  184. def withFilter(p: (Dentry) ⇒ Boolean): FilterMonadic[Dentry, IndexedSeq[Dentry]]
    Definition Classes
    TraversableLike → FilterMonadic
  185. def zip[A1 >: Dentry, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[IndexedSeq[Dentry], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  186. def zipAll[B, A1 >: Dentry, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[Dentry], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  187. def zipWithIndex[A1 >: Dentry, That](implicit bf: CanBuildFrom[IndexedSeq[Dentry], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from IndexedSeq[Dentry]

Inherited from Seq[Dentry]

Inherited from SeqLike[Dentry, IndexedSeq[Dentry]]

Inherited from GenSeq[Dentry]

Inherited from GenSeqLike[Dentry, IndexedSeq[Dentry]]

Inherited from Iterable[Dentry]

Inherited from IterableLike[Dentry, IndexedSeq[Dentry]]

Inherited from Equals

Inherited from GenIterable[Dentry]

Inherited from Traversable[Dentry]

Inherited from GenTraversable[Dentry]

Inherited from Parallelizable[Dentry, ParSeq[Dentry]]

Inherited from TraversableOnce[Dentry]

Inherited from GenTraversableOnce[Dentry]

Inherited from HasNewBuilder[Dentry, IndexedSeq[com.twitter.finagle.Dentry] @scala.annotation.unchecked.uncheckedVariance]

Inherited from PartialFunction[Int, Dentry]

Inherited from (Int) ⇒ Dentry

Inherited from AnyRef

Inherited from Any

Ungrouped