public class RedisClientEntry extends Object implements ClusterNode
Constructor and Description |
---|
RedisClientEntry(RedisClient client,
ConnectionManager manager,
NodeType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InetSocketAddress |
getAddr()
Get Redis node address
|
RedisClient |
getClient() |
NodeType |
getType()
Returns node type
|
int |
hashCode() |
Map<String,String> |
info()
Execute CLUSTER INFO operation.
|
boolean |
ping()
Ping Redis node by PING command.
|
public RedisClientEntry(RedisClient client, ConnectionManager manager, NodeType type)
public RedisClient getClient()
public InetSocketAddress getAddr()
Node
public boolean ping()
Node
public Map<String,String> info()
ClusterNode
info
in interface ClusterNode
Copyright © 2014–2016. All rights reserved.