p

com.twitter.finagle

memcached

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

    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. sealed trait CasResult extends AnyRef

    The result of a check and set command.

    The result of a check and set command.

    See also

    BaseClient.checkAndSet

  3. trait Client extends BaseClient[Buf]
  4. class ClientAdaptor[T] extends BaseClient[T] with Proxy
  5. class ConnectedClient extends Client

    A Client connected to an individual Memcached server.

    A Client connected to an individual Memcached server.

    Attributes
    protected
  6. case class Entry(value: Buf, expiry: Time) extends Product with Serializable
  7. case class GetResult extends Product with Serializable
  8. case class GetsResult(getResult: GetResult) extends Product with Serializable
  9. class Interpreter extends AnyRef

    Evaluates a given Memcached operation and returns the result.

  10. class InterpreterService extends Service[Command, Response]
  11. abstract class JavaClient extends AnyRef

    A Java-friendly memcached client.

  12. class JavaClientBase extends JavaClient
  13. class MockClient extends Client

    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()

  14. trait PartitionedClient extends Client

    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.

  15. class PoolingReadRepairClient extends Client

    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).

  16. trait ProxyClient extends Client
  17. class ResultWithCAS extends AnyRef
  18. trait TwemcacheClient extends Client
  19. trait TwemcacheConnectedClient extends TwemcacheClient

    Twemcache commands implementation.

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

  20. trait TwemcachePartitionedClient extends TwemcacheClient

    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.

  21. 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.

    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 CasResult
  2. object Client
  3. object GetResult extends Serializable
  4. object KeyValidation

    Cache command key validation logic.

    Cache command key validation logic. Valid keys are: - not null, - not empty, - not longer than 250 bytes, and - do not contain any of the invalid characters ['\n', '\r', ' ', ''].

    All cache commands accepting key/keys should test those keys with these tools.

  5. object MockClient
  6. object TwemcacheClient
  7. object ZookeeperStateMonitor

Inherited from AnyRef

Inherited from Any

Ungrouped