public interface ControlBinaryCommands extends AccessControlLogBinaryCommands, ClientBinaryCommands
Modifier and Type | Method and Description |
---|---|
byte[] |
memoryDoctorBinary()
Reports about different memory-related issues that the Redis server experiences,
and advises about possible remedies.
|
java.lang.Long |
memoryUsage(byte[] key)
Reports the number of bytes that a key and its value require to be stored in RAM.
|
java.lang.Long |
memoryUsage(byte[] key,
int samples)
Reports the number of bytes that a key and its value require to be stored in RAM.
|
byte[] |
objectEncoding(byte[] key)
Returns the internal encoding for the Redis object stored at
key . |
java.lang.Long |
objectFreq(byte[] key)
Returns the logarithmic access frequency counter of a Redis object stored at
key . |
java.util.List<byte[]> |
objectHelpBinary()
Returns the object subcommands and usages.
|
java.lang.Long |
objectIdletime(byte[] key)
Returns the time in seconds since the last access to the value stored at
key . |
java.lang.Long |
objectRefcount(byte[] key)
Returns the reference count of the stored at
key . |
java.util.List<java.lang.Object> |
roleBinary()
Provide information on the role of a Redis instance in the context of replication,
by returning if the instance is currently a master, slave, or sentinel.
|
aclCat, aclCatBinary, aclDelUser, aclDelUser, aclDryRunBinary, aclDryRunBinary, aclGenPassBinary, aclGenPassBinary, aclGetUser, aclListBinary, aclLoad, aclLogBinary, aclLogBinary, aclLogReset, aclSave, aclSetUser, aclSetUser, aclUsersBinary, aclWhoAmIBinary
clientGetnameBinary, clientId, clientInfoBinary, clientKill, clientKill, clientKill, clientListBinary, clientListBinary, clientListBinary, clientNoEvictOff, clientNoEvictOn, clientPause, clientPause, clientSetInfo, clientSetname, clientUnblock, clientUnblock, clientUnpause
java.util.List<java.lang.Object> roleBinary()
java.lang.Long objectRefcount(byte[] key)
key
.key
- The key in Redis serverkey
byte[] objectEncoding(byte[] key)
key
.
See for details: OBJECT ENCODING key
key
- The key in Redis serverjava.lang.Long objectIdletime(byte[] key)
key
.
The command is only available when the maxmemory-policy configuration directive
is not set to one of the LFU policies.key
- The key in Redis serverjava.util.List<byte[]> objectHelpBinary()
java.lang.Long objectFreq(byte[] key)
key
.
The command is only available when the maxmemory-policy configuration directive is set to one of the LFU policies.
key
- The key in Redis serverbyte[] memoryDoctorBinary()
java.lang.Long memoryUsage(byte[] key)
See for details: MEMORY USAGE key
key
- The key in Redis serverjava.lang.Long memoryUsage(byte[] key, int samples)
See for details: MEMORY USAGE key SAMPLES count
key
- The key in Redis serverCopyright © 2023. All rights reserved.