Package org.redisson.connection
Class IdleConnectionWatcher
java.lang.Object
org.redisson.connection.IdleConnectionWatcher
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionIdleConnectionWatcher
(io.netty.channel.EventLoopGroup group, MasterSlaveServersConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ClientConnectionsEntry entry, int minimumAmount, int maximumAmount, Collection<? extends RedisConnection> connections, AsyncSemaphore freeConnectionsCounter, Function<RedisConnection, Boolean> deleteHandler) void
remove
(ClientConnectionsEntry entry) void
stop()
-
Constructor Details
-
IdleConnectionWatcher
public IdleConnectionWatcher(io.netty.channel.EventLoopGroup group, MasterSlaveServersConfig config)
-
-
Method Details
-
remove
-
add
public void add(ClientConnectionsEntry entry, int minimumAmount, int maximumAmount, Collection<? extends RedisConnection> connections, AsyncSemaphore freeConnectionsCounter, Function<RedisConnection, Boolean> deleteHandler) -
stop
public void stop()
-