Package org.redisson.connection
Class IdleConnectionWatcher
- java.lang.Object
-
- org.redisson.connection.IdleConnectionWatcher
-
public class IdleConnectionWatcher extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdleConnectionWatcher.Entry
-
Constructor Summary
Constructors Constructor Description IdleConnectionWatcher(ConnectionManager manager, MasterSlaveServersConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ClientConnectionsEntry entry, int minimumAmount, int maximumAmount, Collection<? extends RedisConnection> connections, AsyncSemaphore freeConnectionsCounter, Function<RedisConnection,Boolean> deleteHandler)
void
remove(ClientConnectionsEntry entry)
void
stop()
-
-
-
Constructor Detail
-
IdleConnectionWatcher
public IdleConnectionWatcher(ConnectionManager manager, MasterSlaveServersConfig config)
-
-
Method Detail
-
remove
public void remove(ClientConnectionsEntry entry)
-
add
public void add(ClientConnectionsEntry entry, int minimumAmount, int maximumAmount, Collection<? extends RedisConnection> connections, AsyncSemaphore freeConnectionsCounter, Function<RedisConnection,Boolean> deleteHandler)
-
stop
public void stop()
-
-