v1.0.1: Handle TTL and clear key
This commit is contained in:
parent
30e1bf70d9
commit
2cf5dff011
10
README.md
10
README.md
@ -30,8 +30,14 @@ Usage
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
* Create data adapter, cache (or not), lookup table
|
* 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_set_value(lookup_table, key, value, [ttl])' to create or update key in redis
|
||||||
* Use 'lookup(lookup_table, key)' to get key
|
* 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
|
Getting started
|
||||||
---------------
|
---------------
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<groupId>in.nosd.redis</groupId>
|
<groupId>in.nosd.redis</groupId>
|
||||||
<artifactId>graylog-plugin-redis-lookup</artifactId>
|
<artifactId>graylog-plugin-redis-lookup</artifactId>
|
||||||
<name>${project.artifactId}</name>
|
<name>${project.artifactId}</name>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1</version>
|
||||||
<description>Graylog ${project.artifactId} plugin.</description>
|
<description>Graylog ${project.artifactId} plugin.</description>
|
||||||
<url>https://www.graylog.org</url>
|
<url>https://www.graylog.org</url>
|
||||||
<developers>
|
<developers>
|
||||||
|
2
pom.xml
2
pom.xml
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
<groupId>in.nosd.redis</groupId>
|
<groupId>in.nosd.redis</groupId>
|
||||||
<artifactId>graylog-plugin-redis-lookup</artifactId>
|
<artifactId>graylog-plugin-redis-lookup</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>${project.artifactId}</name>
|
<name>${project.artifactId}</name>
|
||||||
|
Loading…
Reference in New Issue
Block a user