antirez
e6f36dbe8a
Modules: hellodict example WIP #3 : KEYRANGE.
2018-09-27 17:01:35 +02:00
antirez
427df44180
Modules: hellodict example WIP #1 : GET command.
2018-09-27 11:22:43 +02:00
antirez
baa2f9dbbb
Modules: hellodict example WIP #1 : SET command.
2018-09-26 17:52:12 +02:00
antirez
4d7e619078
Modules: remove useless defines in hellotimer.c
2018-09-26 17:42:00 +02:00
antirez
37d62f2dda
Modules: fix top comment of hellotimer.c
2018-09-26 17:41:08 +02:00
antirez
2c89c5656a
Module cluster flags: use RM_SetClusterFlags() in the example.
2018-09-19 16:17:20 +02:00
Salvatore Sanfilippo
4af6809755
Merge pull request #5348 from gkorland/patch-2
...
No need to return "OK"
2018-09-17 15:42:50 +02:00
Guy Korland
b58d8b8c8d
typo fix
2018-09-16 15:21:21 +03:00
Guy Korland
75597cc3bf
No need to return "OK"
...
No need to return "+OK" in this case since the result is an Array of all the nodes
2018-09-13 15:42:17 +03:00
Jack Drogon
df7bafeb44
Fix typo
2018-07-03 18:19:46 +02:00
antirez
f305a7790d
Modules API: blocked client disconnection callback.
2018-04-12 13:21:48 +02:00
antirez
3f9809d6fc
Modules API: fix timer example.
2018-04-12 13:00:18 +02:00
antirez
73b4f7873a
Modules API: blocked client free callback modified to get a context.
...
Note that this was an experimental API that can only be enabled with
REIDSMODULE_EXPERIMENTAL_API, so it is subject to change until its
promoted to stable API. Sorry for the breakage, it is trivial to
resolve btw. This change will not be back ported to Redis 4.0.
2018-04-09 11:54:44 +02:00
antirez
534147a368
Modules Timer API: add example of API.
2018-03-31 10:12:34 +02:00
antirez
d120cca2f5
Modules Timer API: fix infinite loop and export API.
2018-03-31 00:44:46 +02:00
antirez
a8857e6cba
Modules Cluster API: node API exported, example improved.
2018-03-30 17:00:45 +02:00
antirez
11e653b85b
Modules Cluster API: add a simple example module.
2018-03-30 12:49:45 +02:00
Dvir Volk
4991298fb0
Fix indentation and comment style in testmodule
2018-02-14 21:43:06 +02:00
Dvir Volk
fa158da45d
removed hellonotify.c
2018-02-14 21:38:58 +02:00
Dvir Volk
641fce93e7
fixed test
2018-02-14 21:38:58 +02:00
Dvir Volk
053941b983
finished implementation of notifications. Tests unfinished
2018-02-14 21:38:58 +02:00
Dvir Volk
f47914ea05
Added RM_UnlinkKey - a low level analog to UNLINK command
2018-01-07 16:41:43 +02:00
Dvir Volk
c3777932f6
Renamed GetCtxFlags to GetContextFlags
2017-09-27 11:58:16 +03:00
Dvir Volk
f5909f2c18
Added support for module context flags with RM_GetCtxFlags
2017-09-27 11:58:07 +03:00
antirez
1ac18c801b
Allow certain modules APIs only defining REDISMODULE_EXPERIMENTAL_API.
...
Those calls may be subject to changes in the future, so the user should
acknowledge it is using non stable API.
2017-07-14 12:07:52 +02:00
antirez
6fd40fdbc3
Modules documentation removed from source.
...
Moving to redis-doc repository to publish via Redis.io.
2017-07-14 11:33:59 +02:00
antirez
f6d871f4c4
Markdown generation of Redis Modules API reference improved.
2017-07-14 11:29:31 +02:00
antirez
ed93fb8a29
Modules: DEBUG DIGEST interface.
2017-07-06 11:04:46 +02:00
antirez
86274d062f
Modules TSC: HELLO.KEYS reply format fixed.
2017-05-03 23:43:49 +02:00
antirez
b6e4ca1402
Modules: remove unused var in example module.
2017-05-03 14:10:21 +02:00
antirez
e89b3655b8
Modules TSC: HELLO.KEYS example draft finished.
2017-05-03 14:08:12 +02:00
antirez
441c323498
Modules TSC: Release the GIL for all the time we are blocked.
...
Instead of giving the module background operations just a small time to
run in the beforeSleep() function, we can have the lock released for all
the time we are blocked in the multiplexing syscall.
2017-05-03 11:26:21 +02:00
antirez
c0837ddbcc
Use const in modules types mem_usage method.
...
As suggested by @itamarhaber.
2017-01-12 12:47:46 +01:00
antirez
d4593397a7
MEMORY USAGE: support for modules data types.
...
As a side effect of supporting it, we no longer crash when MEMORY USAGE
is called against a module data type.
Close #3637 .
2017-01-12 09:47:57 +01:00
itamar
c64b709956
Corrects a couple of omissions in the modules docs
2016-12-05 18:34:38 +02:00
antirez
4ca7de5ed8
Modules: types doc updated to new API.
2016-12-05 14:40:51 +01:00
antirez
9fd91769e9
Modules: API doc updated (auto generated).
2016-12-05 14:40:43 +01:00
antirez
a52b715835
Modules: change type registration API to use a struct of methods.
2016-11-30 11:14:01 +01:00
antirez
0d55b08656
Modules: use RedisModule_AbortBlock() in the example.
2016-10-13 17:00:45 +02:00
antirez
a7af7a1f8e
Modules: AbortBlock() API implemented.
2016-10-13 16:57:40 +02:00
antirez
6b22a3f9f2
Modules: blocking API documented.
2016-10-13 16:57:28 +02:00
antirez
626270fc82
Example modules: remove warnings about types and not used args.
2016-10-13 12:43:18 +02:00
antirez
33223ded21
Modules: blocking command example added.
2016-10-07 16:35:06 +02:00
antirez
e102e93c9d
Modules: blocking commands WIP: API exported, a first example.
2016-10-07 13:48:14 +02:00
antirez
2371a8b3b3
Modules: introduce warning suppression macro for unused args.
2016-10-07 13:10:31 +02:00
antirez
c10a839e82
Enable warning in example modules Makefile.
2016-10-07 13:07:13 +02:00
antirez
f73d3e71dc
Add compiler optimizations to example module makefile.
2016-10-02 11:01:36 +02:00
Dvir Volk
57009a1ebe
added RM_CreateStringPrintf
2016-09-21 12:30:38 +03:00
antirez
c72557349a
Example modules: Add C99 standard to cflags.
2016-09-09 16:01:29 +02:00
antirez
3ed474aa05
Modules: basic call/reply tests in test module.
2016-08-03 18:10:11 +02:00