Package

io.buoyant.namerd

iface

Permalink

package iface

Visibility
  1. Public
  2. All

Type Members

  1. case class CapacityConfig(bindingCacheActive: Option[Int] = None, bindingCacheInactive: Option[Int] = None, addrCacheActive: Option[Int] = None, addrCacheInactive: Option[Int] = None) extends Product with Serializable

    Permalink
  2. class MaximumObservationsReached extends Exception

    Permalink
  3. class ObserverCache[K <: AnyRef, T] extends AnyRef

    Permalink

    A cache for Observer[T].

    A cache for Observer[T]. ObserverCache contains two levels of caching: active and inactive.

    The active cache is for Observers that have current outstanding requests against them. Therefore, any Observer in the active cache must not be closed as this would cause the outstanding requests to hang.

    The inactive cache is for Observers without outstanding requests against them. These Observers are kept open while in the inactive cache in case they receive a request and need to be moved to the active cache. The inactive cache has LRU eviction and Observers are closed upon eviction. Since Observers in the inactive cache have no outstanding requests against them, this is safe to do.

    When get is called, the Observer for that key is moved to the active cache if it exists or created and placed in the active cache if it does not exist. When the value of an Observer in the active cache changes, the Observer is moved to the inactive cache. If the inactive cache is full at that time, an older inactive Observer will be evicted.

  4. case class ThriftInterpreterInterfaceConfig(retryBaseSecs: Option[Int] = None, retryJitterSecs: Option[Int] = None, cache: Option[CapacityConfig] = None) extends InterpreterInterfaceConfig with Product with Serializable

    Permalink
  5. class ThriftInterpreterInterfaceInitializer extends InterfaceInitializer

    Permalink
  6. class ThriftNamerClient extends NameInterpreter with Delegator

    Permalink
  7. class ThriftNamerInterface extends FutureIface

    Permalink

    Exposes a polling interface to Namers.

  8. case class ThriftServable(addr: InetSocketAddress, iface: ThriftService) extends Servable with Product with Serializable

    Permalink

Value Members

  1. object ThriftInterpreterInterfaceConfig extends Serializable

    Permalink
  2. object ThriftNamerInterface

    Permalink

Ungrouped