com.twitter.finagle

cacheresolver

package cacheresolver

Visibility
  1. Public
  2. All

Type Members

  1. case class CacheNode(host: String, port: Int, weight: Int, key: Option[String] = scala.None) extends SocketAddress with Product with Serializable

  2. trait CachePoolCluster extends Cluster[CacheNode]

  3. case class CachePoolConfig(cachePoolSize: Int, detectKeyRemapping: Boolean = false) extends Product with Serializable

    Cache pool config data format Currently this data format is only used by ZookeeperCachePoolManager to read the config data from zookeeper serverset parent node, and the expected cache pool size is the only attribute we need for now.

  4. class StaticCachePoolCluster extends CachePoolCluster

    Cache pool based on a static list

  5. class TwitterCacheResolver extends Resolver

    A com.twitter.finagle.Resolver for resolving destination names associated with Twitter cache pools.

  6. class TwitterCacheResolverException extends Exception

    Indicates that an error occurred while resolving a cache address.

  7. class ZookeeperCacheNodeGroup extends Group[CacheNode] with ZookeeperStateMonitor

    Zookeeper based cache node group with a serverset as the underlying pool.

  8. class ZookeeperCachePoolCluster extends CachePoolCluster with ZookeeperStateMonitor

    Zookeeper based cache pool cluster with a serverset as the underlying pool.

  9. trait ZookeeperStateMonitor extends AnyRef

    A zk monitor trait that assists with monitoring a given zk path for any node data change, in which the provided zk data handling implementation will be invoked.

Value Members

  1. object CacheNodeGroup

  2. object CachePoolCluster

    Cache specific cluster implementation.

  3. object CachePoolConfig extends Serializable

    Cache pool config data object

  4. object ZookeeperCachePoolCluster

    ZooKeeper based cache pool cluster companion object

  5. object ZookeeperStateMonitor

  6. package java

Ungrouped