v1.0.1: Handle TTL and clear key

This commit is contained in:
yo000 2024-02-04 10:42:12 +01:00
parent 30e1bf70d9
commit 2cf5dff011
3 changed files with 10 additions and 4 deletions

View File

@ -30,8 +30,14 @@ Usage
-----
* Create data adapter, cache (or not), lookup table
* Use 'lookup_set_value(lookup_table, key, value)' to create or update key in redis
* Use 'lookup(lookup_table, key)' to get key
* Use 'lookup_set_value(lookup_table, key, value, [ttl])' to create or update key in redis
* Use 'lookup_value(lookup_table, key)' to get key value
* Use 'lookup_clear_key(lookup_table, key)' to remove key
* Use 'lookup_has_value(lookup_table, key)' to test key existence
* Use 'lookup_assign_ttl(lookup_table, key, ttl)' to change TTL of existing key
By default keys will be created in Redis with the default TTL defined at data adapter creation time
Getting started
---------------

View File

@ -10,7 +10,7 @@
<groupId>in.nosd.redis</groupId>
<artifactId>graylog-plugin-redis-lookup</artifactId>
<name>${project.artifactId}</name>
<version>1.0.0</version>
<version>1.0.1</version>
<description>Graylog ${project.artifactId} plugin.</description>
<url>https://www.graylog.org</url>
<developers>

View File

@ -31,7 +31,7 @@
<groupId>in.nosd.redis</groupId>
<artifactId>graylog-plugin-redis-lookup</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>