Safe Haskell | None |
---|
A raw, low level interface to the memcache protocol.
The various operations are represented in full as they appear at the protocol level and so aren't generaly well suited for application use. Instead, applications should use Database.Memcache.Client which presents a higher level API suited for application use.
Documentation
gat :: Connection -> Key -> Expiration -> IO (Maybe (Value, Flags, Version))Source
touch :: Connection -> Key -> Expiration -> IO (Maybe Version)Source
set :: Connection -> Key -> Value -> Flags -> Expiration -> IO VersionSource
add :: Connection -> Key -> Value -> Flags -> Expiration -> IO (Maybe Version)Source
increment :: Connection -> Key -> Initial -> Delta -> Expiration -> Version -> IO (Maybe (Word64, Version))Source
decrement :: Connection -> Key -> Initial -> Delta -> Expiration -> Version -> IO (Maybe (Word64, Version))Source
flush :: Connection -> Maybe Expiration -> IO ()Source
noop :: Connection -> IO ()Source
version :: Connection -> IO ByteStringSource
stats :: Connection -> Maybe Key -> IO (Maybe [(ByteString, ByteString)])Source
quit :: Connection -> IO ()Source