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

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. implicit val async: Async[M]

    Definition Classes
    LiftedClient
  10. val client: Sender[Memcache, M]

    Definition Classes
    LiftedClient
  11. def clone(): AnyRef

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

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

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

  15. def disconnect(): Unit

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

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

    Definition Classes
    AnyRef → Any
  18. def executeAndMap[T](i: Input)(f: (Output) ⇒ M[T]): M[T]

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

    Attributes
    protected
  20. def finalize(): Unit

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

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

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

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

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

  26. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

  32. def send(input: Input): M[Output]

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

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

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

    Definition Classes
    AnyRef
  36. def toString(): String

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

  38. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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