ClusterNode
, Node
, NodeAsync
public class RedisClientEntry extends Object implements ClusterNode
Node.InfoSection
Constructor | Description |
---|---|
RedisClientEntry(RedisClient client,
CommandSyncService commandExecutor,
NodeType type) |
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
clusterInfo() |
Execute CLUSTER INFO operation.
|
RFuture<Map<String,String>> |
clusterInfoAsync() |
|
boolean |
equals(Object obj) |
|
InetSocketAddress |
getAddr() |
Get Redis node address
|
RedisClient |
getClient() |
|
NodeType |
getType() |
Returns node type
|
int |
hashCode() |
|
Map<String,String> |
info() |
|
Map<String,String> |
info(Node.InfoSection section) |
|
RFuture<Map<String,String>> |
infoAsync(Node.InfoSection section) |
|
boolean |
ping() |
Ping Redis node by PING command.
|
RFuture<Boolean> |
pingAsync() |
|
Time |
time() |
Returns current Redis server time in seconds
|
RFuture<Time> |
timeAsync() |
public RedisClientEntry(RedisClient client, CommandSyncService commandExecutor, NodeType type)
public RedisClient getClient()
public InetSocketAddress getAddr()
Node
public boolean ping()
Node
public Time time()
Node
public RFuture<Map<String,String>> clusterInfoAsync()
clusterInfoAsync
in interface NodeAsync
public Map<String,String> clusterInfo()
ClusterNode
clusterInfo
in interface ClusterNode
public RFuture<Map<String,String>> infoAsync(Node.InfoSection section)
public Map<String,String> info()
info
in interface ClusterNode
Copyright © 2014–2018 The Redisson Project. All rights reserved.