public interface RedisConnectionCommands
Modifier and Type | Method and Description |
---|---|
byte[] |
echo(byte[] message)
Returns
message via server roundtrip. |
String |
ping()
Test connection.
|
void |
select(int dbIndex)
Select the DB with given positive
dbIndex . |
void select(int dbIndex)
dbIndex
.dbIndex
- the database index.@Nullable byte[] echo(byte[] message)
message
via server roundtrip.message
- the message to echo.@Nullable String ping()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.