Package org.redisson.connection
Class ClientConnectionsEntry
java.lang.Object
org.redisson.connection.ClientConnectionsEntry
- Author:
- Nikita Koksharov
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionClientConnectionsEntry
(RedisClient client, int poolMinSize, int poolMaxSize, ConnectionManager connectionManager, NodeType nodeType, MasterSlaveServersConfig config) -
Method Summary
Modifier and TypeMethodDescriptiongetLock()
initConnections
(int minimumIdleSize) initPubSubConnections
(int minimumIdleSize) boolean
boolean
void
nodeDown()
void
void
setFreezeReason
(ClientConnectionsEntry.FreezeReason freezeReason) void
setInitialized
(boolean isInited) void
setNodeType
(NodeType nodeType) toString()
-
Constructor Details
-
ClientConnectionsEntry
public ClientConnectionsEntry(RedisClient client, int poolMinSize, int poolMaxSize, ConnectionManager connectionManager, NodeType nodeType, MasterSlaveServersConfig config)
-
-
Method Details
-
initConnections
-
initPubSubConnections
-
isInitialized
public boolean isInitialized() -
setInitialized
public void setInitialized(boolean isInited) -
setNodeType
-
getNodeType
-
shutdownAsync
-
getClient
-
isFreezed
public boolean isFreezed() -
setFreezeReason
-
getFreezeReason
-
getLock
-
reattachPubSub
public void reattachPubSub() -
nodeDown
public void nodeDown() -
getConnectionsHolder
-
getTrackedConnectionsHolder
-
getPubSubConnectionsHolder
-
toString
-