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.
|
Long |
memoryUsage(byte[] key)
Reports the number of bytes that a key and its value require to be stored in RAM.
|
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 . |
Long |
objectFreq(byte[] key)
Returns the logarithmic access frequency counter of a Redis object stored at
key . |
List<byte[]> |
objectHelpBinary()
Returns the object subcommands and usages.
|
Long |
objectIdletime(byte[] key)
Returns the time in seconds since the last access to the value stored at
key . |
Long |
objectRefcount(byte[] key)
Returns the reference count of the stored at
key . |
List<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, clientSetname, clientUnblock, clientUnblock, clientUnpause
List<Object> roleBinary()
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 serverLong 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 serverList<byte[]> objectHelpBinary()
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()
Long memoryUsage(byte[] key)
See for details: MEMORY USAGE key
key
- The key in Redis serverLong memoryUsage(byte[] key, int samples)
See for details: MEMORY USAGE key SAMPLES count
key
- The key in Redis serverCopyright © 2022. All rights reserved.