Adds the given channel to the storage.
Channel to add.
Returns the requested channel.
undefined
if no match was found or if the notification channel expired.
The identifier of the notification channel.
Returns the identifiers of all notification channel entries that have the given identifier as their topic. The identifiers can potentially correspond to expired channels.
The identifier that is the topic.
Updates the given notification channel.
The id
and the topic
can not be updated.
The channel to update.
Stores all the NotificationChannel in a KeyValueStorage. Encodes IDs/topics before storing them in the KeyValueStorage.
Uses a ReadWriteLocker to prevent internal race conditions.