memcached-binary-0.1.0.1: memcached client using binary protocol.

Safe HaskellNone
LanguageHaskell2010

Database.Memcached.Binary.IO

Contents

Synopsis

connection

get

set

set :: Flags -> Expiry -> Key -> Value -> Connection -> IO () Source

add :: Flags -> Expiry -> Key -> Value -> Connection -> IO () Source

delete

increment/decrement

flush

flushAll :: Connection -> IO () Source

flush all value.

version

versionString :: Connection -> IO ByteString Source

get version string.

noOp

noOp :: Connection -> IO () Source

noop(use for keepalive).

append/prepend

touch

touch :: Expiry -> Key -> Connection -> IO () Source

change expiry.

getAndTouch :: Expiry -> Key -> Connection -> IO (Flags, Value) Source

get value/change expiry.

getAndTouch_ :: Expiry -> Key -> Connection -> IO Value Source

get value/change expiry.

modify

modify :: Expiry -> Key -> (Flags -> Value -> (Flags, Value, a)) -> Connection -> IO a Source

modify value in transaction.

modify_ :: Expiry -> Key -> (Flags -> Value -> (Flags, Value)) -> Connection -> IO () Source

modify value in transaction.

reexports

def

PortID(..)

module Network