@Deprecated public interface NodesGroup<N extends Node>
| Modifier and Type | Method and Description |
|---|---|
int |
addConnectionListener(ConnectionListener connectionListener)
Deprecated.
Adds connection listener which will be triggered
when Redisson connected to or disconnected from Redis server
|
N |
getNode(String address)
Deprecated.
Get Redis node by address in format:
redis://host:port |
Collection<N> |
getNodes()
Deprecated.
All Redis nodes used by Redisson.
|
Collection<N> |
getNodes(NodeType type)
Deprecated.
Get all Redis nodes by type
|
boolean |
pingAll()
Deprecated.
Ping all Redis nodes.
|
boolean |
pingAll(long timeout,
TimeUnit timeUnit)
Deprecated.
Ping all Redis nodes with specified timeout per node
|
void |
removeConnectionListener(int listenerId)
Deprecated.
Removes connection listener by id
|
int addConnectionListener(ConnectionListener connectionListener)
connectionListener - - connection listenervoid removeConnectionListener(int listenerId)
listenerId - - id of connection listenerN getNode(String address)
redis://host:portaddress - of nodeCollection<N> getNodes(NodeType type)
type - - type of nodeCollection<N> getNodes()
boolean pingAll()
true if all nodes replied "PONG", false in other case.boolean pingAll(long timeout,
TimeUnit timeUnit)
true if all nodes replied "PONG", false in other case.Copyright © 2014–2021 Redisson. All rights reserved.