colossus.protocols.memcache

MemcacheClient

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

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
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract val async: Async[M]

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

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

    Definition Classes
    LiftedClient

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

  7. def append(key: ByteString, value: ByteString): M[Boolean]

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

  13. def disconnect(): Unit

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

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

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

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

    Attributes
    protected
  18. def finalize(): Unit

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

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

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

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

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

  24. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LiftedClient[Memcache, M]

Inherited from Sender[Memcache, M]

Inherited from AnyRef

Inherited from Any

Ungrouped