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.

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 append(key: ByteString, value: ByteString): M[Boolean]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
  11. def disconnect(): Unit

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

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

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

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

    Permalink
    Attributes
    protected
  16. def finalize(): Unit

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

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

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

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

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

    Permalink
  22. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  34. final def wait(): Unit

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

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