Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
add(key: ByteString, value: ByteString, ttl: Int = 0, flags: Int = 0): M[Boolean]
-
def
append(key: ByteString, value: ByteString): M[Boolean]
-
final
def
asInstanceOf[T0]: T0
-
implicit
val
async: Async[M]
-
-
def
clone(): AnyRef
-
def
counterAsOptionCommand(c: MemcacheCommand, key: ByteString): M[Option[Long]]
-
def
decr(key: ByteString, value: Long): M[Option[Long]]
-
def
delete(key: ByteString): M[Boolean]
-
def
disconnect(): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
executeAndMap[T](i: Input)(f: (Output) ⇒ M[T]): M[T]
-
def
executeCommand[T](c: MemcacheCommand, key: ByteString)(goodCase: PartialFunction[MemcacheReply, M[T]]): M[T]
-
def
finalize(): Unit
-
def
get(key: ByteString): M[Option[Value]]
-
def
getAll(keys: ByteString*): M[Map[ByteString, Value]]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
incr(key: ByteString, value: Long): M[Option[Long]]
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
prepend(key: ByteString, value: ByteString): M[Boolean]
-
def
replace(key: ByteString, value: ByteString, ttl: Int = 0, flags: Int = 0): M[Boolean]
-
-
def
set(key: ByteString, value: ByteString, ttl: Int = 0, flags: Int = 0): M[Boolean]
-
def
storageAsBooleanCommand(c: MemcacheCommand, key: ByteString): M[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
touch(key: ByteString, ttl: Int = 0): M[Boolean]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
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.