public interface RedisAclAsyncCommands<K,V>
Modifier and Type | Method and Description |
---|---|
RedisFuture<Set<AclCategory>> |
aclCat()
The command shows the available ACL categories if called without arguments.
|
RedisFuture<Set<CommandType>> |
aclCat(AclCategory category)
The command shows all the Redis commands in the specified category.
|
RedisFuture<Long> |
aclDeluser(String... usernames)
Delete all the specified ACL users and terminate all the connections that are authenticated with such users.
|
RedisFuture<String> |
aclDryRun(String username,
RedisCommand<K,V,?> command)
Simulate the execution of a given command by a given user.
|
RedisFuture<String> |
aclDryRun(String username,
String command,
String... args)
Simulate the execution of a given command by a given user.
|
RedisFuture<String> |
aclGenpass()
The command generates a password.
|
RedisFuture<String> |
aclGenpass(int bits)
The command generates a password.
|
RedisFuture<List<Object>> |
aclGetuser(String username)
The command returns all the rules defined for an existing ACL user.
|
RedisFuture<List<String>> |
aclList()
The command shows the currently active ACL rules in the Redis server.
|
RedisFuture<String> |
aclLoad()
When Redis is configured to use an ACL file (with the aclfile configuration option), this command will reload the ACLs
from the file, replacing all the current ACL rules with the ones defined in the file.
|
RedisFuture<List<Map<String,Object>>> |
aclLog()
The command shows a list of recent ACL security events.
|
RedisFuture<List<Map<String,Object>>> |
aclLog(int count)
The command shows a list of recent ACL security events.
|
RedisFuture<String> |
aclLogReset()
The command clears ACL security events.
|
RedisFuture<String> |
aclSave()
When Redis is configured to use an ACL file (with the aclfile configuration option), this command will save the currently
defined ACLs from the server memory to the ACL file.
|
RedisFuture<String> |
aclSetuser(String username,
AclSetuserArgs setuserArgs)
Create an ACL user with the specified rules or modify the rules of an existing user.
|
RedisFuture<List<String>> |
aclUsers()
The command shows a list of all the usernames of the currently configured users in the Redis ACL system.
|
RedisFuture<String> |
aclWhoami()
The command shows a list of all the usernames of the currently configured users in the Redis ACL system.
|
RedisFuture<Set<AclCategory>> aclCat()
RedisFuture<Set<CommandType>> aclCat(AclCategory category)
category
- the specified categoryRedisFuture<Long> aclDeluser(String... usernames)
usernames
- the specified usernamesRedisFuture<String> aclDryRun(String username, String command, String... args)
username
- the specified usernamecommand
- the specified commandargs
- the specified args of commandRedisFuture<String> aclDryRun(String username, RedisCommand<K,V,?> command)
username
- the specified usernamecommand
- the specified command to inspectRedisFuture<String> aclGenpass()
RedisFuture<String> aclGenpass(int bits)
bits
- amount of bitsRedisFuture<List<Object>> aclGetuser(String username)
username
- the specified usernameRedisFuture<List<String>> aclList()
RedisFuture<String> aclLoad()
RedisFuture<List<Map<String,Object>>> aclLog()
RedisFuture<List<Map<String,Object>>> aclLog(int count)
count
- max count of eventsRedisFuture<String> aclLogReset()
RedisFuture<String> aclSave()
RedisFuture<String> aclSetuser(String username, AclSetuserArgs setuserArgs)
username
- the specified usernamesetuserArgs
- rulesRedisFuture<List<String>> aclUsers()
RedisFuture<String> aclWhoami()
Copyright © 2024 lettuce.io. All rights reserved.