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 TypeMethodDescriptionvoid
addHandler
(RedisConnection connection, ConnectionsHolder<?> handler) getLock()
initConnections
(int minimumIdleSize) initPubSubConnections
(int minimumIdleSize) boolean
boolean
void
nodeDown()
protected final void
nodeDown
(ConnectionsHolder<RedisConnection> connectionsHolder) void
<T extends RedisConnection>
voidreturnConnection
(T connection) void
setFreezeReason
(ClientConnectionsEntry.FreezeReason freezeReason) void
setInitialized
(boolean isInited) 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) -
getNodeType
-
shutdownAsync
-
getClient
-
isFreezed
public boolean isFreezed() -
setFreezeReason
-
getFreezeReason
-
getLock
-
reattachPubSub
public void reattachPubSub() -
nodeDown
public void nodeDown() -
nodeDown
-
getConnectionsHolder
-
getTrackedConnectionsHolder
-
getPubSubConnectionsHolder
-
addHandler
-
returnConnection
-
toString
-