Package redis.clients.jedis.providers
Class ManagedConnectionProvider
java.lang.Object
redis.clients.jedis.providers.ManagedConnectionProvider
- All Implemented Interfaces:
AutoCloseable,ConnectionProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final Connectionfinal Connectionfinal voidsetConnection(Connection connection) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface redis.clients.jedis.providers.ConnectionProvider
getConnectionMap
-
Field Details
-
connection
-
-
Constructor Details
-
ManagedConnectionProvider
public ManagedConnectionProvider()
-
-
Method Details
-
setConnection
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getConnection
- Specified by:
getConnectionin interfaceConnectionProvider
-
getConnection
- Specified by:
getConnectionin interfaceConnectionProvider
-