|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RedisServerCommands
Server-specific commands supported by Redis.
Method Summary | |
---|---|
void |
bgSave()
Start background saving of db on server. |
void |
bgWriteAof()
Start an Append Only File rewrite process on server. |
Long |
dbSize()
Get the total number of available keys in currently selected database. |
void |
flushAll()
Delete all all keys from all databases. |
void |
flushDb()
Delete all keys of the currently selected database. |
List<String> |
getConfig(String pattern)
Load configuration parameters for given pattern from server. |
Properties |
info()
Load default server information like mempory cpu utilization replication |
Properties |
info(String section)
Load server information for given selection . |
Long |
lastSave()
Get time of last bgSave() operation in seconds. |
void |
resetConfigStats()
Reset statistic counters on server. |
void |
save()
Synchronous save current db snapshot on server. |
void |
setConfig(String param,
String value)
Set server configuration for key to value . |
void |
shutdown()
Shutdown server. |
Long |
time()
Request server timestamp using TIME command. |
Method Detail |
---|
void bgWriteAof()
http://redis.io/commands/bgrewriteaof
void bgSave()
http://redis.io/commands/bgsave
Long lastSave()
bgSave()
operation in seconds.
http://redis.io/commands/lastsave
void save()
http://redis.io/commands/save
Long dbSize()
http://redis.io/commands/dbsize
void flushDb()
http://redis.io/commands/flushdb
void flushAll()
http://redis.io/commands/flushall
Properties info()
http://redis.io/commands/info
Properties info(String section)
selection
.
http://redis.io/commands/info
void shutdown()
http://redis.io/commands/shutdown
List<String> getConfig(String pattern)
pattern
from server.
pattern
-
http://redis.io/commands/config-get
void setConfig(String param, String value)
key
to value
.
param
- value
- http://redis.io/commands/config-set
void resetConfigStats()
info()
.
http://redis.io/commands/config-resetstat
Long time()
TIME
command.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |