(channel stream-name)
Build the index channel name for ws subscriptions for a given stream.
Build the index channel name for ws subscriptions for a given stream.
(clear-index this)
Resets the index
Resets the index
(current-time this)
Returns the index current time
Returns the index current time
(insert this event labels)
Updates index with event
Updates index with event
(lookup this labels)
Lookup an indexed event from the index
Lookup an indexed event from the index
(delete this labels)
Deletes an event by labels.
Deletes an event by labels.
(expire this)
Return a seq of expired states from this index, removing each.
Return a seq of expired states from this index, removing each.
(search this condition)
Returns a seq of events from the index matching this query.
Returns a seq of events from the index matching this query.
(size-index this)
Returns the index size
Returns the index size
(new-time? this t)
Takes a number representing the time as parameter and set the index current time if necessary
Takes a number representing the time as parameter and set the index current time if necessary
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close