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

Safe HaskellNone
LanguageHaskell2010

Database.Memcached.Binary.Maybe

Contents

Synopsis

connection

get

set

delete

increment/decrement

flush

flushAll :: Connection -> IO Bool Source

flush all value.

version

versionString :: Connection -> IO (Maybe ByteString) Source

get version string.

noOp

noOp :: Connection -> IO Bool Source

noop(use for keepalive).

append/prepend

touch

touch :: Expiry -> Key -> Connection -> IO Bool Source

change expiry.

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

get value/change expiry.

getAndTouch_ :: Expiry -> Key -> Connection -> IO (Maybe Value) Source

get value/change expiry.

modify

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

modify value in transaction.

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

modify value in transaction.

reexports

def

PortID(..)

module Network