The lredis Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The lredis Reference Manual

This is the lredis Reference Manual, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 12:12:56 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Lisp Redis bindings

Just a small hack to kill a few hours.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 lredis

Author

death <github.com/death>

License

BSD

Description

Lisp Redis bindings

Dependencies
Source

lredis.asd (file)

Component

lredis.lisp (file)


Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 lredis.asd

Location

lredis.asd

Systems

lredis (system)


Previous: , Up: Lisp files   [Contents][Index]

3.1.2 lredis/lredis.lisp

Parent

lredis (system)

Location

lredis.lisp

Packages

lredis

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 lredis

Source

lredis.lisp (file)

Nickname

redis

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *connection*
Package

lredis

Source

lredis.lisp (file)

Special Variable: *host*
Package

lredis

Source

lredis.lisp (file)

Special Variable: *port*
Package

lredis

Source

lredis.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: with-connection (&key CONNECTION HOST PORT) &body FORMS
Package

lredis

Source

lredis.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: append KEY VALUE &key CONNECTION OCTETS

Append the specified string to the string stored at key.

Package

lredis

Source

lredis.lisp (file)

Function: auth PASSWORD &key CONNECTION OCTETS

Simple password authentication if enabled.

Package

lredis

Source

lredis.lisp (file)

Function: bgrewriteaof &key CONNECTION OCTETS

Rewrite the append only file in the background when it gets too big.

Package

lredis

Source

lredis.lisp (file)

Function: bgsave &key CONNECTION OCTETS

Asynchronously save the database on disk.

Package

lredis

Source

lredis.lisp (file)

Function: bitcount KEY START END &key CONNECTION OCTETS

Count the number of set bits in a string.

Package

lredis

Source

lredis.lisp (file)

Function: blpop KEYS TIMEOUT &key CONNECTION OCTETS

Blocking LPOP

Package

lredis

Source

lredis.lisp (file)

Function: brpop KEYS TIMEOUT &key CONNECTION OCTETS

Blocking RPOP

Package

lredis

Source

lredis.lisp (file)

Function: brpoplpush SOURCE DESTINATION TIMEOUT &key CONNECTION OCTETS

Pop a value from a list, push it to another list and return it; or block until one is available.

Package

lredis

Source

lredis.lisp (file)

Function: close-connection CONNECTION
Package

lredis

Source

lredis.lisp (file)

Function: config-get PATTERN &key CONNECTION OCTETS

Read configuration parameters matching pattern.

Package

lredis

Source

lredis.lisp (file)

Function: config-resetstat &key CONNECTION OCTETS

Reset statistics reported by INFO.

Package

lredis

Source

lredis.lisp (file)

Function: config-rewrite &key CONNECTION OCTETS

Rewrite redis configuration file.

Package

lredis

Source

lredis.lisp (file)

Function: config-set NAME VALUE &key CONNECTION OCTETS

Set a configuration variable.

Package

lredis

Source

lredis.lisp (file)

Function: dbsize &key CONNECTION OCTETS

Return the number of keys in the current database.

Package

lredis

Source

lredis.lisp (file)

Function: decr KEY &key CONNECTION OCTETS

Decrement the integer value of key.

Package

lredis

Source

lredis.lisp (file)

Function: decrby KEY INTEGER &key CONNECTION OCTETS

Decrement the integer value of key by integer.

Package

lredis

Source

lredis.lisp (file)

Function: del KEY &key CONNECTION OCTETS

Delete a key.

Package

lredis

Source

lredis.lisp (file)

Function: discard &key CONNECTION OCTETS

Rollback transaction

Package

lredis

Source

lredis.lisp (file)

Function: dump KEY &key CONNECTION OCTETS

Serialize the value stored at key.

Package

lredis

Source

lredis.lisp (file)

Function: echo MESSAGE &key CONNECTION OCTETS

Echo the given string.

Package

lredis

Source

lredis.lisp (file)

Function: exec &key CONNECTION OCTETS

Commit transaction

Package

lredis

Source

lredis.lisp (file)

Function: exists KEY &key CONNECTION OCTETS

Test if a key exists.

Package

lredis

Source

lredis.lisp (file)

Function: expire KEY SECONDS &key CONNECTION OCTETS

Expire key in a number of seconds from now.

Package

lredis

Source

lredis.lisp (file)

Function: expireat KEY TIMESTAMP &key CONNECTION OCTETS

Set the expiration for a key as a UNIX timestamp.

Package

lredis

Source

lredis.lisp (file)

Function: flushall &key CONNECTION OCTETS

Remove all the keys from all the databases.

Package

lredis

Source

lredis.lisp (file)

Function: flushdb &key CONNECTION OCTETS

Remove all the keys of the currently selected database.

Package

lredis

Source

lredis.lisp (file)

Function: get KEY &key CONNECTION OCTETS

Return the string value of the key.

Package

lredis

Source

lredis.lisp (file)

Function: getbit KEY OFFSET &key CONNECTION OCTETS

Returns the bit value at offset in the string value stored at key.

Package

lredis

Source

lredis.lisp (file)

Function: getrange KEY START END &key CONNECTION OCTETS

Get a substring of the string stored at a key (like SUBSTR).

Package

lredis

Source

lredis.lisp (file)

Function: getset KEY VALUE &key CONNECTION OCTETS

Set a key to a string returning the old value of the key.

Package

lredis

Source

lredis.lisp (file)

Function: hdel KEY FIELD &key CONNECTION OCTETS

Remove the specified field from a hash.

Package

lredis

Source

lredis.lisp (file)

Function: hexists KEY FIELD &key CONNECTION OCTETS

Test for existence of a specified field in a hash.

Package

lredis

Source

lredis.lisp (file)

Function: hget KEY FIELD &key CONNECTION OCTETS

Retrieve the value of the specified hash field.

Package

lredis

Source

lredis.lisp (file)

Function: hgetall KEY &key CONNECTION OCTETS

Return all the fields and associated values in a hash.

Package

lredis

Source

lredis.lisp (file)

Function: hincrby KEY FIELD INTEGER &key CONNECTION OCTETS

Increment the integer value of the hash at key on field with integer.

Package

lredis

Source

lredis.lisp (file)

Function: hkeys KEY &key CONNECTION OCTETS

Return all the fields in a hash.

Package

lredis

Source

lredis.lisp (file)

Function: hlen KEY &key CONNECTION OCTETS

Return the number of items in a hash.

Package

lredis

Source

lredis.lisp (file)

Function: hmget KEY FIELDS &key CONNECTION OCTETS

Returns the values associated with the specified fields in the hash stored at key.

Package

lredis

Source

lredis.lisp (file)

Function: hmset KEY FIELDS/VALS &key CONNECTION OCTETS

Set the hash fields to their respective values.

Package

lredis

Source

lredis.lisp (file)

Function: hset KEY FIELD VALUE &key CONNECTION OCTETS

Set the hash field to the specified value. Creates the hash if needed.

Package

lredis

Source

lredis.lisp (file)

Function: hsetnx KEY FIELD VALUE &key CONNECTION OCTETS

Set the hash field to the specified value, if the field does not exist. Creates the hash if needed.

Package

lredis

Source

lredis.lisp (file)

Function: hvals KEY &key CONNECTION OCTETS

Return all the values in a hash.

Package

lredis

Source

lredis.lisp (file)

Function: incr KEY &key CONNECTION OCTETS

Increment the integer value of key.

Package

lredis

Source

lredis.lisp (file)

Function: incrby KEY INTEGER &key CONNECTION OCTETS

Increment the integer value of key by integer.

Package

lredis

Source

lredis.lisp (file)

Function: info &key CONNECTION OCTETS

Provide information and statistics about the server

Package

lredis

Source

lredis.lisp (file)

Function: keys PATTERN &key CONNECTION OCTETS

Return all the keys matching a given pattern.

Package

lredis

Source

lredis.lisp (file)

Function: lastsave &key CONNECTION OCTETS

Return the UNIX timestamp of the last successful save.

Package

lredis

Source

lredis.lisp (file)

Function: lindex KEY INDEX &key CONNECTION OCTETS

Return the element at index position from the list at key.

Package

lredis

Source

lredis.lisp (file)

Function: llen KEY &key CONNECTION OCTETS

Return the length of the list value at key.

Package

lredis

Source

lredis.lisp (file)

Function: lpop KEY &key CONNECTION OCTETS

Return and remove (atomically) the first element of the list at key.

Package

lredis

Source

lredis.lisp (file)

Function: lpush KEY VALUE &key CONNECTION OCTETS

Append an element to the head of the list value at key.

Package

lredis

Source

lredis.lisp (file)

Function: lpushx KEY VALUE &key CONNECTION OCTETS

Prepend a value to a list, only if the list exists.

Package

lredis

Source

lredis.lisp (file)

Function: lrange KEY START END &key CONNECTION OCTETS

Return a range of elements from the list at key.

Package

lredis

Source

lredis.lisp (file)

Function: lrem KEY COUNT VALUE &key CONNECTION OCTETS

Remove the first-N, last-N, or all the elements matching value from the list at key.

Package

lredis

Source

lredis.lisp (file)

Function: lset KEY INDEX VALUE &key CONNECTION OCTETS

Set a new value as the element at index position of the list at key.

Package

lredis

Source

lredis.lisp (file)

Function: ltrim KEY START END &key CONNECTION OCTETS

Trim the list at key to the specified range of elements.

Package

lredis

Source

lredis.lisp (file)

Function: mget KEYS &key CONNECTION OCTETS

Multi-get, return the string values of the keys.

Package

lredis

Source

lredis.lisp (file)

Function: move KEY DBINDEX &key CONNECTION OCTETS

Move the key from the currently selected database to a database specified by index.

Package

lredis

Source

lredis.lisp (file)

Function: mset KEYS/VALS &key CONNECTION OCTETS

Set multiple keys to multiple values in a single atomic operation.

Package

lredis

Source

lredis.lisp (file)

Function: msetnx KEYS/VALS &key CONNECTION OCTETS

Set multiple keys to multiple values in a single atomic operation if none of the keys already exist.

Package

lredis

Source

lredis.lisp (file)

Function: multi &key CONNECTION OCTETS

Begin a transaction

Package

lredis

Source

lredis.lisp (file)

Function: open-connection &optional HOST PORT
Package

lredis

Source

lredis.lisp (file)

Function: persist KEY &key CONNECTION OCTETS

Remove the expiration from a key.

Package

lredis

Source

lredis.lisp (file)

Function: pexpire KEY MILLISECONDS &key CONNECTION OCTETS

Set a key’s time to live in milliseconds.

Package

lredis

Source

lredis.lisp (file)

Function: pexpireat KEY MILLISECONDS-TIMESTAMP &key CONNECTION OCTETS

Set the expiration for a key as a UNIX timestamp specified in milliseconds.

Package

lredis

Source

lredis.lisp (file)

Function: ping &key CONNECTION OCTETS

Ping the redis server.

Package

lredis

Source

lredis.lisp (file)

Function: psetex KEY MILLISECONDS VALUE &key CONNECTION OCTETS

Set the value and expiration in milliseconds of a key.

Package

lredis

Source

lredis.lisp (file)

Function: pttl KEY &key CONNECTION OCTETS

Get the time to live for a key in milliseconds.

Package

lredis

Source

lredis.lisp (file)

Function: publish CHANNEL MESSAGE &key CONNECTION OCTETS

Post a message to a given channel.

Package

lredis

Source

lredis.lisp (file)

Function: pubsub-dispatch &key CONNECTION

Wait for a publisher/subscriber event from Redis and dispatch appropriately. There’s no notification about subscriptions or unsubscriptions, but we return true if any subscriptions are still active and false otherwise.

Package

lredis

Source

lredis.lisp (file)

Function: quit &key CONNECTION

Close the connection.

Package

lredis

Source

lredis.lisp (file)

Function: randomkey &key CONNECTION OCTETS

Return a random key from the key space.

Package

lredis

Source

lredis.lisp (file)

Function: rename OLDNAME NEWNAME &key CONNECTION OCTETS

Rename the old key to the new one, superseding any existing key.

Package

lredis

Source

lredis.lisp (file)

Function: renamenx OLDNAME NEWNAME &key CONNECTION OCTETS

Rename the old key to the new one unless a key with the new name already exists.

Package

lredis

Source

lredis.lisp (file)

Function: restore KEY TTL VALUE &key CONNECTION OCTETS

Create a key associated with the deserialized value.

Package

lredis

Source

lredis.lisp (file)

Function: rpop KEY &key CONNECTION OCTETS

Return and remove (atomically) the last element of the list at key.

Package

lredis

Source

lredis.lisp (file)

Function: rpoplpush SRCKEY DSTKEY &key CONNECTION OCTETS

Return and remove (atomically) the last element of the source list stored at srckey and push the same element to the destination list stored at dstkey

Package

lredis

Source

lredis.lisp (file)

Function: rpush KEY VALUE &key CONNECTION OCTETS

Append an element to the tail of the list value at key.

Package

lredis

Source

lredis.lisp (file)

Function: rpushx KEY VALUE &key CONNECTION OCTETS

Append a value to a list, only if the list exists.

Package

lredis

Source

lredis.lisp (file)

Function: sadd KEY MEMBER &key CONNECTION OCTETS

Add the specified member to the set value at key.

Package

lredis

Source

lredis.lisp (file)

Function: save &key CONNECTION OCTETS

Synchronously save the database on disk.

Package

lredis

Source

lredis.lisp (file)

Function: scard KEY &key CONNECTION OCTETS

Return the number of elements (the cardinality) of the set at key.

Package

lredis

Source

lredis.lisp (file)

Function: sdiff KEYS &key CONNECTION OCTETS

Return the difference between the set stored at the first key and the sets stored at the rest of the keys.

Package

lredis

Source

lredis.lisp (file)

Function: sdiffstore DSTKEY KEYS &key CONNECTION OCTETS

Compute the difference between the set stored at the first key and the sets stored at the rest of the keys, and store it at dstkey.

Package

lredis

Source

lredis.lisp (file)

Function: select INDEX &key CONNECTION OCTETS

Select the database having the specified index.

Package

lredis

Source

lredis.lisp (file)

Function: set KEY VALUE &key CONNECTION OCTETS

Set a key to a string value.

Package

lredis

Source

lredis.lisp (file)

Function: setbit KEY OFFSET VALUE &key CONNECTION OCTETS

Sets or clears the bit at offset in the string value stored at key.

Package

lredis

Source

lredis.lisp (file)

Function: setex KEY TIME VALUE &key CONNECTION OCTETS

Set+Expire combo command

Package

lredis

Source

lredis.lisp (file)

Function: setnx KEY VALUE &key CONNECTION OCTETS

Set a key to a string value if the key does not exist.

Package

lredis

Source

lredis.lisp (file)

Function: setrange KEY OFFSET VALUE &key CONNECTION OCTETS

Overwrite part of a string at key starting at the specified offset.

Package

lredis

Source

lredis.lisp (file)

Function: shutdown &key CONNECTION

Synchronously save the database on disk, then shutdown the server.

Package

lredis

Source

lredis.lisp (file)

Function: sinter KEYS &key CONNECTION OCTETS

Return the intersection of the sets stored at keys.

Package

lredis

Source

lredis.lisp (file)

Function: sinterstore DSTKEY KEYS &key CONNECTION OCTETS

Compute the intersection of the sets stored at keys and store the resulting set at dstkey.

Package

lredis

Source

lredis.lisp (file)

Function: sismember KEY MEMBER &key CONNECTION OCTETS

Test if the specified value is a member of the set at key.

Package

lredis

Source

lredis.lisp (file)

Function: slaveof HOST PORT &key CONNECTION OCTETS

Change the replication settings.

Package

lredis

Source

lredis.lisp (file)

Function: smembers KEY &key CONNECTION OCTETS

Return all the members of the set value at key.

Package

lredis

Source

lredis.lisp (file)

Function: smove SRCKEY DSTKEY &key CONNECTION OCTETS

Move the specified member from one set to another atomically.

Package

lredis

Source

lredis.lisp (file)

Function: sort KEY &key CONNECTION OCTETS ORDER LIMIT-START LIMIT-END BY GET ALPHA

Sort a set or a list according to the specified parameters.

Package

lredis

Source

lredis.lisp (file)

Function: spop KEY &key CONNECTION OCTETS

Remove and return (pop) a random element from the set value at key.

Package

lredis

Source

lredis.lisp (file)

Function: srandmember KEY &key CONNECTION OCTETS

Return a random member of the set value at key.

Package

lredis

Source

lredis.lisp (file)

Function: srem KEY MEMBER &key CONNECTION OCTETS

Remove the specified member from the set value at key.

Package

lredis

Source

lredis.lisp (file)

Function: strlen KEY &key CONNECTION OCTETS

Get the length of the value stored in key.

Package

lredis

Source

lredis.lisp (file)

Function: subscribe FUNCTION &key CONNECTION WANT-OCTETS CHANNELS PATTERNS

Subscribe the client to the specified channels or patterns, calling the function when a relevant event is available. The function should take two arguments: the originating channel and the actual message.

Package

lredis

Source

lredis.lisp (file)

Function: substr KEY START END &key CONNECTION OCTETS

Return a substring out of a larger string.

Package

lredis

Source

lredis.lisp (file)

Function: sunion KEYS &key CONNECTION OCTETS

Return the union of the sets stored at keys.

Package

lredis

Source

lredis.lisp (file)

Function: sunionstore DSTKEY KEYS &key CONNECTION OCTETS

Compute the union of the sets stored at keys and store the resulting set at dstkey.

Package

lredis

Source

lredis.lisp (file)

Function: time &key CONNECTION OCTETS

Return the current server time.

Package

lredis

Source

lredis.lisp (file)

Function: ttl KEY &key CONNECTION OCTETS

Get the number of seconds from now until expiry.

Package

lredis

Source

lredis.lisp (file)

Function: type KEY &key CONNECTION OCTETS

Return the type of the value stored at key.

Package

lredis

Source

lredis.lisp (file)

Function: unsubscribe &key CHANNELS PATTERNS CONNECTION

Unsubscribe the client from the specified channels or patterns. In order to unsubscribe from all channels or patterns, pass :ALL as an argument.

Package

lredis

Source

lredis.lisp (file)

Function: unwatch &key CONNECTION OCTETS

Forget about all watched keys.

Package

lredis

Source

lredis.lisp (file)

Function: watch KEYS &key CONNECTION OCTETS

Watch the given keys to determine execution of the MULTI/EXEC block.

Package

lredis

Source

lredis.lisp (file)

Function: zadd KEY SCORE MEMBER &key CONNECTION OCTETS

Add the specified member to the sorted set value at key or update the score if it already exists.

Package

lredis

Source

lredis.lisp (file)

Function: zcard KEY &key CONNECTION OCTETS

Return the number of elements (cardinality) of the sorted set at key.

Package

lredis

Source

lredis.lisp (file)

Function: zcount KEY MIN MAX &key CONNECTION OCTETS

Count the members in a sorted set with scores within the given values.

Package

lredis

Source

lredis.lisp (file)

Function: zincrby KEY INCREMENT MEMBER &key CONNECTION OCTETS

If the member already exists, increment its score by increment, otherwise add the member setting increment as score.

Package

lredis

Source

lredis.lisp (file)

Function: zinterstore DSTKEY N KEYS &key CONNECTION OCTETS WEIGHTS AGGREGATE

Intersect over a number of sorted sets with optional weight and aggregate.

Package

lredis

Source

lredis.lisp (file)

Function: zrange KEY START END &key CONNECTION OCTETS

Return a range of elements from the sorted set at key, ordered by smallest to greatest score.

Package

lredis

Source

lredis.lisp (file)

Function: zrangebyscore KEY MIN MAX &key CONNECTION OCTETS

Return all the elements with min <= score <= max (a range query) from the sorted set.

Package

lredis

Source

lredis.lisp (file)

Function: zrank KEY MEMBER &key CONNECTION OCTETS

Return the rank (or index) of member in the sorted set at key, with scores being oredered from low to high.

Package

lredis

Source

lredis.lisp (file)

Function: zrem KEY MEMBER &key CONNECTION OCTETS

Remove the specified member from the sorted set value at key.

Package

lredis

Source

lredis.lisp (file)

Function: zremrangebyrank KEY MIN MAX &key CONNECTION OCTETS

Remove all the elements with min <= rank <= max rank from the sorted set.

Package

lredis

Source

lredis.lisp (file)

Function: zremrangebyscore KEY MIN MAX &key CONNECTION OCTETS

Remove all the elements with min <= score <= max score from the sorted set.

Package

lredis

Source

lredis.lisp (file)

Function: zrevrange KEY START END &key CONNECTION OCTETS

Return a range of elements from the sorted set at key, ordered by greatest to the smallest score.

Package

lredis

Source

lredis.lisp (file)

Function: zrevrank KEY MEMBER &key CONNECTION OCTETS

Return the rank (or index) of member in the sorted set at key, with scores being ordered from high to low.

Package

lredis

Source

lredis.lisp (file)

Function: zscore KEY ELEMENT &key CONNECTION OCTETS

Return the score associated with the specified element of the sorted set at key.

Package

lredis

Source

lredis.lisp (file)

Function: zunionstore DSTKEY N KEYS &key CONNECTION OCTETS WEIGHTS AGGREGATE

Union over a number of sorted sets with optional weight and aggregate.

Package

lredis

Source

lredis.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Generic functions

Generic Function: pubsub-bad-event-event CONDITION
Package

lredis

Methods
Method: pubsub-bad-event-event (CONDITION pubsub-bad-event)
Source

lredis.lisp (file)

Generic Function: text CONDITION
Generic Function: (setf text) NEW-VALUE CONDITION
Package

lredis

Methods
Method: text (CONDITION redis-error)
Method: (setf text) NEW-VALUE (CONDITION redis-error)
Source

lredis.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Conditions

Condition: pubsub-bad-event ()
Package

lredis

Source

lredis.lisp (file)

Direct superclasses

redis-error (condition)

Direct subclasses

pubsub-spam (condition)

Direct methods

pubsub-bad-event-event (method)

Direct slots
Slot: event
Initargs

:event

Readers

pubsub-bad-event-event (generic function)

Direct Default Initargs
InitargValue
:text"bad publish/subscribe event."
Condition: pubsub-spam ()
Package

lredis

Source

lredis.lisp (file)

Direct superclasses

pubsub-bad-event (condition)

Direct Default Initargs
InitargValue
:text"publish/subscribe spam event."
Condition: redis-error ()
Package

lredis

Source

lredis.lisp (file)

Direct superclasses

error (condition)

Direct subclasses

pubsub-bad-event (condition)

Direct methods
  • text (method)
  • text (method)
Direct slots
Slot: text
Initargs

:text

Readers

text (generic function)

Writers

(setf text) (generic function)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Macros

Macro: define-command NAME &rest SPEC
Package

lredis

Source

lredis.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: %psubscribe PATTERNS &key CONNECTION

Subscribe the client to the given patterns.

Package

lredis

Source

lredis.lisp (file)

Function: %punsubscribe PATTERNS &key CONNECTION

Unsubscribe the client from the given patterns.

Package

lredis

Source

lredis.lisp (file)

Function: %subscribe CHANNELS &key CONNECTION

Subscribe the client to the specified channels.

Package

lredis

Source

lredis.lisp (file)

Function: %unsubscribe CHANNELS &key CONNECTION

Unsubscribe the client from the given channels, or from all of them if none is given.

Package

lredis

Source

lredis.lisp (file)

Function: connection-stream CONNECTION
Package

lredis

Source

lredis.lisp (file)

Function: key-sequence KEY
Package

lredis

Source

lredis.lisp (file)

Function: read-delimited-bytes STREAM
Package

lredis

Source

lredis.lisp (file)

Function: read-reply CONNECTION
Package

lredis

Source

lredis.lisp (file)

Function: translate-event EVENT
Package

lredis

Source

lredis.lisp (file)

Function: translate-result RESULT WANT-OCTETS BOOLEANIZE
Package

lredis

Source

lredis.lisp (file)

Function: write-multi-bulk SEQUENCES N OUT
Package

lredis

Source

lredis.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Generic functions

Generic Function: connection-channel-subscriptions OBJECT
Generic Function: (setf connection-channel-subscriptions) NEW-VALUE OBJECT
Package

lredis

Methods
Method: connection-channel-subscriptions (CONNECTION connection)

automatically generated reader method

Source

lredis.lisp (file)

Method: (setf connection-channel-subscriptions) NEW-VALUE (CONNECTION connection)

automatically generated writer method

Source

lredis.lisp (file)

Generic Function: connection-pattern-subscriptions OBJECT
Generic Function: (setf connection-pattern-subscriptions) NEW-VALUE OBJECT
Package

lredis

Methods
Method: connection-pattern-subscriptions (CONNECTION connection)

automatically generated reader method

Source

lredis.lisp (file)

Method: (setf connection-pattern-subscriptions) NEW-VALUE (CONNECTION connection)

automatically generated writer method

Source

lredis.lisp (file)

Generic Function: connection-socket OBJECT
Generic Function: (setf connection-socket) NEW-VALUE OBJECT
Package

lredis

Methods
Method: connection-socket (CONNECTION connection)

automatically generated reader method

Source

lredis.lisp (file)

Method: (setf connection-socket) NEW-VALUE (CONNECTION connection)

automatically generated writer method

Source

lredis.lisp (file)

Generic Function: subscription-function OBJECT
Package

lredis

Methods
Method: subscription-function (SUBSCRIPTION subscription)

automatically generated reader method

Source

lredis.lisp (file)

Generic Function: subscription-want-octets OBJECT
Package

lredis

Methods
Method: subscription-want-octets (SUBSCRIPTION subscription)

automatically generated reader method

Source

lredis.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Classes

Class: connection ()
Package

lredis

Source

lredis.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

connection-socket (generic function)

Writers

(setf connection-socket) (generic function)

Slot: channel-subscriptions
Initform

(make-hash-table :test (quote equal))

Readers

connection-channel-subscriptions (generic function)

Writers

(setf connection-channel-subscriptions) (generic function)

Slot: pattern-subscriptions
Initform

(make-hash-table :test (quote equal))

Readers

connection-pattern-subscriptions (generic function)

Writers

(setf connection-pattern-subscriptions) (generic function)

Class: subscription ()
Package

lredis

Source

lredis.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: function
Initargs

:function

Readers

subscription-function (generic function)

Slot: want-octets
Initargs

:want-octets

Readers

subscription-want-octets (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L  
Index Entry  Section

F
File, Lisp, lredis.asd: The lredis<dot>asd file
File, Lisp, lredis/lredis.lisp: The lredis/lredis<dot>lisp file

L
Lisp File, lredis.asd: The lredis<dot>asd file
Lisp File, lredis/lredis.lisp: The lredis/lredis<dot>lisp file
lredis.asd: The lredis<dot>asd file
lredis/lredis.lisp: The lredis/lredis<dot>lisp file

Jump to:   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   O   P   Q   R   S   T   U   W   Z  
Index Entry  Section

%
%psubscribe: Internal functions
%punsubscribe: Internal functions
%subscribe: Internal functions
%unsubscribe: Internal functions

(
(setf connection-channel-subscriptions): Internal generic functions
(setf connection-channel-subscriptions): Internal generic functions
(setf connection-pattern-subscriptions): Internal generic functions
(setf connection-pattern-subscriptions): Internal generic functions
(setf connection-socket): Internal generic functions
(setf connection-socket): Internal generic functions
(setf text): Exported generic functions
(setf text): Exported generic functions

A
append: Exported functions
auth: Exported functions

B
bgrewriteaof: Exported functions
bgsave: Exported functions
bitcount: Exported functions
blpop: Exported functions
brpop: Exported functions
brpoplpush: Exported functions

C
close-connection: Exported functions
config-get: Exported functions
config-resetstat: Exported functions
config-rewrite: Exported functions
config-set: Exported functions
connection-channel-subscriptions: Internal generic functions
connection-channel-subscriptions: Internal generic functions
connection-pattern-subscriptions: Internal generic functions
connection-pattern-subscriptions: Internal generic functions
connection-socket: Internal generic functions
connection-socket: Internal generic functions
connection-stream: Internal functions

D
dbsize: Exported functions
decr: Exported functions
decrby: Exported functions
define-command: Internal macros
del: Exported functions
discard: Exported functions
dump: Exported functions

E
echo: Exported functions
exec: Exported functions
exists: Exported functions
expire: Exported functions
expireat: Exported functions

F
flushall: Exported functions
flushdb: Exported functions
Function, %psubscribe: Internal functions
Function, %punsubscribe: Internal functions
Function, %subscribe: Internal functions
Function, %unsubscribe: Internal functions
Function, append: Exported functions
Function, auth: Exported functions
Function, bgrewriteaof: Exported functions
Function, bgsave: Exported functions
Function, bitcount: Exported functions
Function, blpop: Exported functions
Function, brpop: Exported functions
Function, brpoplpush: Exported functions
Function, close-connection: Exported functions
Function, config-get: Exported functions
Function, config-resetstat: Exported functions
Function, config-rewrite: Exported functions
Function, config-set: Exported functions
Function, connection-stream: Internal functions
Function, dbsize: Exported functions
Function, decr: Exported functions
Function, decrby: Exported functions
Function, del: Exported functions
Function, discard: Exported functions
Function, dump: Exported functions
Function, echo: Exported functions
Function, exec: Exported functions
Function, exists: Exported functions
Function, expire: Exported functions
Function, expireat: Exported functions
Function, flushall: Exported functions
Function, flushdb: Exported functions
Function, get: Exported functions
Function, getbit: Exported functions
Function, getrange: Exported functions
Function, getset: Exported functions
Function, hdel: Exported functions
Function, hexists: Exported functions
Function, hget: Exported functions
Function, hgetall: Exported functions
Function, hincrby: Exported functions
Function, hkeys: Exported functions
Function, hlen: Exported functions
Function, hmget: Exported functions
Function, hmset: Exported functions
Function, hset: Exported functions
Function, hsetnx: Exported functions
Function, hvals: Exported functions
Function, incr: Exported functions
Function, incrby: Exported functions
Function, info: Exported functions
Function, key-sequence: Internal functions
Function, keys: Exported functions
Function, lastsave: Exported functions
Function, lindex: Exported functions
Function, llen: Exported functions
Function, lpop: Exported functions
Function, lpush: Exported functions
Function, lpushx: Exported functions
Function, lrange: Exported functions
Function, lrem: Exported functions
Function, lset: Exported functions
Function, ltrim: Exported functions
Function, mget: Exported functions
Function, move: Exported functions
Function, mset: Exported functions
Function, msetnx: Exported functions
Function, multi: Exported functions
Function, open-connection: Exported functions
Function, persist: Exported functions
Function, pexpire: Exported functions
Function, pexpireat: Exported functions
Function, ping: Exported functions
Function, psetex: Exported functions
Function, pttl: Exported functions
Function, publish: Exported functions
Function, pubsub-dispatch: Exported functions
Function, quit: Exported functions
Function, randomkey: Exported functions
Function, read-delimited-bytes: Internal functions
Function, read-reply: Internal functions
Function, rename: Exported functions
Function, renamenx: Exported functions
Function, restore: Exported functions
Function, rpop: Exported functions
Function, rpoplpush: Exported functions
Function, rpush: Exported functions
Function, rpushx: Exported functions
Function, sadd: Exported functions
Function, save: Exported functions
Function, scard: Exported functions
Function, sdiff: Exported functions
Function, sdiffstore: Exported functions
Function, select: Exported functions
Function, set: Exported functions
Function, setbit: Exported functions
Function, setex: Exported functions
Function, setnx: Exported functions
Function, setrange: Exported functions
Function, shutdown: Exported functions
Function, sinter: Exported functions
Function, sinterstore: Exported functions
Function, sismember: Exported functions
Function, slaveof: Exported functions
Function, smembers: Exported functions
Function, smove: Exported functions
Function, sort: Exported functions
Function, spop: Exported functions
Function, srandmember: Exported functions
Function, srem: Exported functions
Function, strlen: Exported functions
Function, subscribe: Exported functions
Function, substr: Exported functions
Function, sunion: Exported functions
Function, sunionstore: Exported functions
Function, time: Exported functions
Function, translate-event: Internal functions
Function, translate-result: Internal functions
Function, ttl: Exported functions
Function, type: Exported functions
Function, unsubscribe: Exported functions
Function, unwatch: Exported functions
Function, watch: Exported functions
Function, write-multi-bulk: Internal functions
Function, zadd: Exported functions
Function, zcard: Exported functions
Function, zcount: Exported functions
Function, zincrby: Exported functions
Function, zinterstore: Exported functions
Function, zrange: Exported functions
Function, zrangebyscore: Exported functions
Function, zrank: Exported functions
Function, zrem: Exported functions
Function, zremrangebyrank: Exported functions
Function, zremrangebyscore: Exported functions
Function, zrevrange: Exported functions
Function, zrevrank: Exported functions
Function, zscore: Exported functions
Function, zunionstore: Exported functions

G
Generic Function, (setf connection-channel-subscriptions): Internal generic functions
Generic Function, (setf connection-pattern-subscriptions): Internal generic functions
Generic Function, (setf connection-socket): Internal generic functions
Generic Function, (setf text): Exported generic functions
Generic Function, connection-channel-subscriptions: Internal generic functions
Generic Function, connection-pattern-subscriptions: Internal generic functions
Generic Function, connection-socket: Internal generic functions
Generic Function, pubsub-bad-event-event: Exported generic functions
Generic Function, subscription-function: Internal generic functions
Generic Function, subscription-want-octets: Internal generic functions
Generic Function, text: Exported generic functions
get: Exported functions
getbit: Exported functions
getrange: Exported functions
getset: Exported functions

H
hdel: Exported functions
hexists: Exported functions
hget: Exported functions
hgetall: Exported functions
hincrby: Exported functions
hkeys: Exported functions
hlen: Exported functions
hmget: Exported functions
hmset: Exported functions
hset: Exported functions
hsetnx: Exported functions
hvals: Exported functions

I
incr: Exported functions
incrby: Exported functions
info: Exported functions

K
key-sequence: Internal functions
keys: Exported functions

L
lastsave: Exported functions
lindex: Exported functions
llen: Exported functions
lpop: Exported functions
lpush: Exported functions
lpushx: Exported functions
lrange: Exported functions
lrem: Exported functions
lset: Exported functions
ltrim: Exported functions

M
Macro, define-command: Internal macros
Macro, with-connection: Exported macros
Method, (setf connection-channel-subscriptions): Internal generic functions
Method, (setf connection-pattern-subscriptions): Internal generic functions
Method, (setf connection-socket): Internal generic functions
Method, (setf text): Exported generic functions
Method, connection-channel-subscriptions: Internal generic functions
Method, connection-pattern-subscriptions: Internal generic functions
Method, connection-socket: Internal generic functions
Method, pubsub-bad-event-event: Exported generic functions
Method, subscription-function: Internal generic functions
Method, subscription-want-octets: Internal generic functions
Method, text: Exported generic functions
mget: Exported functions
move: Exported functions
mset: Exported functions
msetnx: Exported functions
multi: Exported functions

O
open-connection: Exported functions

P
persist: Exported functions
pexpire: Exported functions
pexpireat: Exported functions
ping: Exported functions
psetex: Exported functions
pttl: Exported functions
publish: Exported functions
pubsub-bad-event-event: Exported generic functions
pubsub-bad-event-event: Exported generic functions
pubsub-dispatch: Exported functions

Q
quit: Exported functions

R
randomkey: Exported functions
read-delimited-bytes: Internal functions
read-reply: Internal functions
rename: Exported functions
renamenx: Exported functions
restore: Exported functions
rpop: Exported functions
rpoplpush: Exported functions
rpush: Exported functions
rpushx: Exported functions

S
sadd: Exported functions
save: Exported functions
scard: Exported functions
sdiff: Exported functions
sdiffstore: Exported functions
select: Exported functions
set: Exported functions
setbit: Exported functions
setex: Exported functions
setnx: Exported functions
setrange: Exported functions
shutdown: Exported functions
sinter: Exported functions
sinterstore: Exported functions
sismember: Exported functions
slaveof: Exported functions
smembers: Exported functions
smove: Exported functions
sort: Exported functions
spop: Exported functions
srandmember: Exported functions
srem: Exported functions
strlen: Exported functions
subscribe: Exported functions
subscription-function: Internal generic functions
subscription-function: Internal generic functions
subscription-want-octets: Internal generic functions
subscription-want-octets: Internal generic functions
substr: Exported functions
sunion: Exported functions
sunionstore: Exported functions

T
text: Exported generic functions
text: Exported generic functions
time: Exported functions
translate-event: Internal functions
translate-result: Internal functions
ttl: Exported functions
type: Exported functions

U
unsubscribe: Exported functions
unwatch: Exported functions

W
watch: Exported functions
with-connection: Exported macros
write-multi-bulk: Internal functions

Z
zadd: Exported functions
zcard: Exported functions
zcount: Exported functions
zincrby: Exported functions
zinterstore: Exported functions
zrange: Exported functions
zrangebyscore: Exported functions
zrank: Exported functions
zrem: Exported functions
zremrangebyrank: Exported functions
zremrangebyscore: Exported functions
zrevrange: Exported functions
zrevrank: Exported functions
zscore: Exported functions
zunionstore: Exported functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   K   L   M   O   P   Q   R   S   T   U   W   Z  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   E   F   P   S   T   W  
Index Entry  Section

*
*connection*: Exported special variables
*host*: Exported special variables
*port*: Exported special variables

C
channel-subscriptions: Internal classes

E
event: Exported conditions

F
function: Internal classes

P
pattern-subscriptions: Internal classes

S
Slot, channel-subscriptions: Internal classes
Slot, event: Exported conditions
Slot, function: Internal classes
Slot, pattern-subscriptions: Internal classes
Slot, socket: Internal classes
Slot, text: Exported conditions
Slot, want-octets: Internal classes
socket: Internal classes
Special Variable, *connection*: Exported special variables
Special Variable, *host*: Exported special variables
Special Variable, *port*: Exported special variables

T
text: Exported conditions

W
want-octets: Internal classes

Jump to:   *  
C   E   F   P   S   T   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   L   P   R   S  
Index Entry  Section

C
Class, connection: Internal classes
Class, subscription: Internal classes
Condition, pubsub-bad-event: Exported conditions
Condition, pubsub-spam: Exported conditions
Condition, redis-error: Exported conditions
connection: Internal classes

L
lredis: The lredis system
lredis: The lredis package

P
Package, lredis: The lredis package
pubsub-bad-event: Exported conditions
pubsub-spam: Exported conditions

R
redis-error: Exported conditions

S
subscription: Internal classes
System, lredis: The lredis system

Jump to:   C   L   P   R   S