Package

com.twitter.finagle

memcached

Permalink

package memcached

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. memcached
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait BaseClient[T] extends Closable

    Permalink

    A friendly client to talk to a Memcached server.

    A friendly client to talk to a Memcached server.

    See also

    The Memcached protocol docs for details on the API.

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

    Permalink
  3. sealed trait CasResult extends AnyRef

    Permalink

    The result of a check and set command.

    The result of a check and set command.

    See also

    BaseClient.checkAndSet

  4. trait Client extends BaseClient[Buf]

    Permalink
  5. class ClientAdaptor[T] extends BaseClient[T] with Proxy

    Permalink
  6. class ConnectedClient extends Client

    Permalink

    A Client connected to an individual Memcached server.

    A Client connected to an individual Memcached server.

    Attributes
    protected
  7. case class Entry(value: Buf, expiry: Time) extends Product with Serializable

    Permalink
  8. class FailureAccrualException extends RequestException

    Permalink
  9. case class GetResult extends Product with Serializable

    Permalink
  10. case class GetsResult(getResult: GetResult) extends Product with Serializable

    Permalink
  11. class Interpreter extends AnyRef

    Permalink

    Evaluates a given Memcached operation and returns the result.

  12. class InterpreterService extends Service[Command, Response]

    Permalink
  13. abstract class JavaClient extends AnyRef

    Permalink
  14. class JavaClientBase extends JavaClient

    Permalink
  15. abstract class KetamaClientKey extends AnyRef

    Permalink
  16. class MockClient extends Client

    Permalink

    Map-based mock client for testing

    Map-based mock client for testing

    Note

    this class now respects expiry times. If you want the old expiry-ignoring behavior, use MockClient.ignoresTtl()

  17. class PHPMemCacheClient extends PartitionedClient

    Permalink

    PHP memcache-client (memcache.so) compatible client.

  18. case class PHPMemCacheClientBuilder(_nodes: Seq[(String, Int, Int)], _hashName: Option[String], _clientBuilder: Option[ClientBuilder[_, _, _, _, Yes]]) extends Product with Serializable

    Permalink

    Builder for memcache-client (memcache.so) compatible client.

  19. trait PartitionedClient extends Client

    Permalink

    A partitioned client is a client that delegates to an actual client based on the key value.

    A partitioned client is a client that delegates to an actual client based on the key value. Subclasses implement clientOf to choose the Client.

  20. class PoolingReadRepairClient extends Client

    Permalink

    This class is designed to support replicated memcached setups.

    This class is designed to support replicated memcached setups. It supports a limited subset of operations (just get, set, and delete).

  21. trait ProxyClient extends Client

    Permalink
  22. class ResultWithCAS extends AnyRef

    Permalink
  23. class RubyMemCacheClient extends PartitionedClient

    Permalink

    Ruby memcache-client (MemCache) compatible client.

  24. case class RubyMemCacheClientBuilder(_nodes: Seq[(String, Int, Int)], _clientBuilder: Option[ClientBuilder[_, _, _, _, Yes]]) extends Product with Serializable

    Permalink

    Builder for memcache-client (MemCache) compatible client.

  25. trait TwemcacheClient extends Client

    Permalink
  26. trait TwemcacheConnectedClient extends TwemcacheClient

    Permalink

    Twemcache commands implementation.

    Twemcache commands implementation. This trait can only be mixed into a memcache client implementation as extension.

  27. trait TwemcachePartitionedClient extends TwemcacheClient

    Permalink

    Twemcache commands implementation for a partitioned client.

    Twemcache commands implementation for a partitioned client. This trait can only be mixed into a PartitionedClient that is delegating twemcache compatible clients.

  28. class TwitterCacheResolver extends Resolver

    Permalink

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

  29. class TwitterCacheResolverException extends Exception

    Permalink

    Indicates that an error occurred while resolving a cache address.

    Indicates that an error occurred while resolving a cache address. See com.twitter.finagle.memcached.TwitterCacheResolver for details.

  30. trait ZookeeperStateMonitor extends AnyRef

    Permalink

    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.

    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.

    This monitor will maintain a queue so that every work item triggered by zk event will be processed in an order with a back off policy. It also set-up a zookeeper connection watcher by default to re-set the data change watcher even during zk re-connect.

    The monitor will set-up all watcher properly kick off the loop to process future event; you can also invoke loadZKData() in your class anytime to force reading zk data and apply it.

    Example use cases are: - zookeeper based CachePoolCluster uses this to monitor cache pool members change - zookeeper based MigrationClient uses this ot monitor migration state transitioning

Value Members

  1. object CacheNode extends Serializable

    Permalink
  2. object CacheNodeGroup

    Permalink
  3. object CasResult

    Permalink
  4. object Client

    Permalink
  5. object GetResult extends Serializable

    Permalink
  6. object KetamaClient

    Permalink
  7. object KetamaClientKey

    Permalink
  8. object MockClient

    Permalink
  9. object PHPMemCacheClientBuilder extends Serializable

    Permalink
  10. object TwemcacheClient

    Permalink
  11. object ZookeeperStateMonitor

    Permalink
  12. package exp

    Permalink
  13. package protocol

    Permalink
  14. package util

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped