Trait/Object

colossus.protocols.memcache

MemcacheClient

Related Docs: object MemcacheClient | package memcache

Permalink

trait MemcacheClient[M[_]] extends LiftedClient[Memcache, M]

This trait houses the Memcache API. It contains implementations for most(not all commands. The only commands not supported yet are: - CAS (upcoming) - admin type commands.

Just because these commands are not implemented, doesn't mean they cannot be used. The implementors of this trait provide a generic 'execute' command, which allows for the execution of arbitrary colossus.protocols.memcache.MemcacheCommand objects. The calling code is responsible for handling the raw colossus.protocols.memcache.MemcacheReply. The only restriction here is that the replies must fall in line with what the colossus.protocols.memcache.MemcacheReply expects, or the parser will fail to recognize the response as valid.

M

The response container

Linear Supertypes
LiftedClient[Memcache, M], Sender[Memcache, M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemcacheClient
  2. LiftedClient
  3. Sender
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract val async: Async[M]

    Permalink
    Definition Classes
    LiftedClient
  2. abstract def client: Sender[Memcache, M]

    Permalink
    Definition Classes
    LiftedClient
  3. abstract def clientConfig: Option[ClientConfig]

    Permalink
    Definition Classes
    LiftedClient

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(key: ByteString, value: ByteString, ttl: Int = 0, flags: Int = 0): M[Boolean]

    Permalink
  5. def addInterceptor(interceptor: Interceptor[Memcache]): Unit

    Permalink
    Definition Classes
    LiftedClientSender
  6. def address(): InetSocketAddress

    Permalink
    Definition Classes
    LiftedClientSender
  7. def append(key: ByteString, value: ByteString): M[Boolean]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def counterAsOptionCommand(c: MemcacheCommand, key: ByteString): M[Option[Long]]

    Permalink
    Attributes
    protected
  11. def decr(key: ByteString, value: Long): M[Option[Long]]

    Permalink
  12. def delete(key: ByteString): M[Boolean]

    Permalink
  13. def disconnect(): Unit

    Permalink
    Definition Classes
    LiftedClientSender
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def executeAndMap[T](i: Request)(f: (Response) ⇒ M[T]): M[T]

    Permalink
    Attributes
    protected
    Definition Classes
    LiftedClient
  17. def executeCommand[T](c: MemcacheCommand, key: ByteString)(goodCase: PartialFunction[MemcacheReply, M[T]]): M[T]

    Permalink
    Attributes
    protected
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def get(key: ByteString): M[Option[Value]]

    Permalink
  20. def getAll(keys: ByteString*): M[Map[ByteString, Value]]

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def incr(key: ByteString, value: Long): M[Option[Long]]

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def prepend(key: ByteString, value: ByteString): M[Boolean]

    Permalink
  29. def replace(key: ByteString, value: ByteString, ttl: Int = 0, flags: Int = 0): M[Boolean]

    Permalink
  30. def send(input: Request): M[Response]

    Permalink
    Definition Classes
    LiftedClientSender
  31. def set(key: ByteString, value: ByteString, ttl: Int = 0, flags: Int = 0): M[Boolean]

    Permalink
  32. def storageAsBooleanCommand(c: MemcacheCommand, key: ByteString): M[Boolean]

    Permalink
    Attributes
    protected
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def touch(key: ByteString, ttl: Int = 0): M[Boolean]

    Permalink
  36. def update(addresses: Seq[InetSocketAddress]): Unit

    Permalink
    Definition Classes
    LiftedClientSender
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LiftedClient[Memcache, M]

Inherited from Sender[Memcache, M]

Inherited from AnyRef

Inherited from Any

Ungrouped