public class IdleConnectionWatcher extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IdleConnectionWatcher.Entry |
Constructor and Description |
---|
IdleConnectionWatcher(ConnectionManager manager,
MasterSlaveServersConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
add(int minimumAmount,
int maximumAmount,
Collection<? extends RedisConnection> connections,
AsyncSemaphore freeConnectionsCounter) |
void |
stop() |
public IdleConnectionWatcher(ConnectionManager manager, MasterSlaveServersConfig config)
public void add(int minimumAmount, int maximumAmount, Collection<? extends RedisConnection> connections, AsyncSemaphore freeConnectionsCounter)
public void stop()
Copyright © 2014–2019 The Redisson Project. All rights reserved.