K - Key type.V - Value type.@Deprecated public interface RedisServerConnection<K,V> extends RedisServerCommands<K,V>
| Modifier and Type | Method and Description |
|---|---|
String |
bgrewriteaof()
Deprecated.
Asynchronously rewrite the append-only file.
|
String |
bgsave()
Deprecated.
Asynchronously save the dataset to disk.
|
K |
clientGetname()
Deprecated.
Get the current connection name.
|
Long |
clientKill(KillArgs killArgs)
Deprecated.
Kill connections of clients which are filtered by
killArgs |
String |
clientKill(String addr)
Deprecated.
Kill the connection of a client identified by ip:port.
|
String |
clientList()
Deprecated.
Get the list of client connections.
|
String |
clientPause(long timeout)
Deprecated.
Stop processing commands from clients for some time.
|
String |
clientSetname(K name)
Deprecated.
Set the current connection name.
|
List<Object> |
command()
Deprecated.
Returns an array reply of details about all Redis commands.
|
Long |
commandCount()
Deprecated.
Get total number of Redis commands.
|
List<Object> |
commandInfo(CommandType... commands)
Deprecated.
Returns an array reply of details about the requested commands.
|
List<Object> |
commandInfo(String... commands)
Deprecated.
Returns an array reply of details about the requested commands.
|
List<String> |
configGet(String parameter)
Deprecated.
Get the value of a configuration parameter.
|
String |
configResetstat()
Deprecated.
Reset the stats returned by INFO.
|
String |
configRewrite()
Deprecated.
Rewrite the configuration file with the in memory configuration.
|
String |
configSet(String parameter,
String value)
Deprecated.
Set a configuration parameter to the given value.
|
Long |
dbsize()
Deprecated.
Return the number of keys in the selected database.
|
String |
debugHtstats(int db)
Deprecated.
Get debugging information about the internal hash-table state.
|
String |
debugObject(K key)
Deprecated.
Get debugging information about a key.
|
void |
debugOom()
Deprecated.
Make the server crash: Out of memory.
|
void |
debugSegfault()
Deprecated.
Make the server crash: Invalid pointer access.
|
String |
flushall()
Deprecated.
Remove all keys from all databases.
|
String |
flushallAsync()
Deprecated.
Remove all keys asynchronously from all databases.
|
String |
flushdb()
Deprecated.
Remove all keys from the current database.
|
String |
flushdbAsync()
Deprecated.
Remove all keys asynchronously from the current database.
|
String |
info()
Deprecated.
Get information and statistics about the server.
|
String |
info(String section)
Deprecated.
Get information and statistics about the server.
|
Date |
lastsave()
Deprecated.
Get the UNIX time stamp of the last successful save to disk.
|
String |
save()
Deprecated.
Synchronously save the dataset to disk.
|
void |
shutdown(boolean save)
Deprecated.
Synchronously save the dataset to disk and then shut down the server.
|
String |
slaveof(String host,
int port)
Deprecated.
Make the server a slave of another instance, or promote it as master.
|
String |
slaveofNoOne()
Deprecated.
Promote server as master.
|
List<Object> |
slowlogGet()
Deprecated.
Read the slow log.
|
List<Object> |
slowlogGet(int count)
Deprecated.
Read the slow log.
|
Long |
slowlogLen()
Deprecated.
Obtaining the current length of the slow log.
|
String |
slowlogReset()
Deprecated.
Resetting the slow log.
|
String |
sync()
Deprecated.
|
List<V> |
time()
Deprecated.
Return the current server time.
|
clientUnblock, debugCrashAndRecover, debugReload, debugRestart, debugSdslenString bgrewriteaof()
bgrewriteaof in interface RedisServerCommands<K,V>OK.String bgsave()
bgsave in interface RedisServerCommands<K,V>K clientGetname()
clientGetname in interface RedisServerCommands<K,V>String clientSetname(K name)
clientSetname in interface RedisServerCommands<K,V>name - the client nameOK if the connection name was successfully set.String clientKill(String addr)
clientKill in interface RedisServerCommands<K,V>addr - ip:portOK if the connection exists and has been closedLong clientKill(KillArgs killArgs)
killArgsclientKill in interface RedisServerCommands<K,V>killArgs - args for the kill operationString clientPause(long timeout)
clientPause in interface RedisServerCommands<K,V>timeout - the timeout value in millisecondsString clientList()
clientList in interface RedisServerCommands<K,V>List<Object> command()
command in interface RedisServerCommands<K,V>List<Object> commandInfo(String... commands)
commandInfo in interface RedisServerCommands<K,V>commands - the commands to query forList<Object> commandInfo(CommandType... commands)
commandInfo in interface RedisServerCommands<K,V>commands - the commands to query forLong commandCount()
commandCount in interface RedisServerCommands<K,V>List<String> configGet(String parameter)
configGet in interface RedisServerCommands<K,V>parameter - name of the parameterString configResetstat()
configResetstat in interface RedisServerCommands<K,V>OK.String configRewrite()
configRewrite in interface RedisServerCommands<K,V>OK when the configuration was rewritten properly. Otherwise an error is
returned.String configSet(String parameter, String value)
configSet in interface RedisServerCommands<K,V>parameter - the parameter namevalue - the parameter valueOK when the configuration was set properly. Otherwise an error is returned.Long dbsize()
dbsize in interface RedisServerCommands<K,V>String debugObject(K key)
debugObject in interface RedisServerCommands<K,V>key - the keyvoid debugSegfault()
debugSegfault in interface RedisServerCommands<K,V>void debugOom()
debugOom in interface RedisServerCommands<K,V>String debugHtstats(int db)
debugHtstats in interface RedisServerCommands<K,V>db - the database numberString flushall()
flushall in interface RedisServerCommands<K,V>String flushallAsync()
flushallAsync in interface RedisServerCommands<K,V>String flushdb()
flushdb in interface RedisServerCommands<K,V>String flushdbAsync()
flushdbAsync in interface RedisServerCommands<K,V>String info()
info in interface RedisServerCommands<K,V>String info(String section)
info in interface RedisServerCommands<K,V>section - the section type: stringDate lastsave()
lastsave in interface RedisServerCommands<K,V>String save()
save in interface RedisServerCommands<K,V>void shutdown(boolean save)
shutdown in interface RedisServerCommands<K,V>save - true force save operationString slaveof(String host, int port)
slaveof in interface RedisServerCommands<K,V>host - the host type: stringport - the port type: stringString slaveofNoOne()
slaveofNoOne in interface RedisServerCommands<K,V>List<Object> slowlogGet()
slowlogGet in interface RedisServerCommands<K,V>List<Object> slowlogGet(int count)
slowlogGet in interface RedisServerCommands<K,V>count - the countLong slowlogLen()
slowlogLen in interface RedisServerCommands<K,V>String slowlogReset()
slowlogReset in interface RedisServerCommands<K,V>@Deprecated String sync()
sync in interface RedisServerCommands<K,V>Copyright © 2018 lettuce.io. All rights reserved.