public interface ModuleCommands
Modifier and Type | Method and Description |
---|---|
List<Module> |
moduleList()
Return information about the modules loaded to the server.
|
String |
moduleLoad(String path)
Load and initialize the Redis module from the dynamic library specified by the path argument.
|
String |
moduleLoad(String path,
String... args)
Load and initialize the Redis module from the dynamic library specified by the path argument.
|
String |
moduleUnload(String name)
Unload the module specified by name.
|
String moduleLoad(String path)
path
- should be the absolute path of the library, including the full filenameString moduleLoad(String path, String... args)
path
- should be the absolute path of the library, including the full filenameargs
- additional arguments are passed unmodified to the moduleString moduleUnload(String name)
MODULE LIST
command, and may differ from the dynamic library's filename.name
- Copyright © 2022. All rights reserved.