public interface JedisCommandsInstanceContainer extends Closeable
Interfaces for containers which stores instances implementing JedisCommands.
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Release Container. | 
| redis.clients.jedis.JedisCommands | getInstance()Borrows instance from container. | 
| void | returnInstance(redis.clients.jedis.JedisCommands jedisCommands)Returns instance to container. | 
redis.clients.jedis.JedisCommands getInstance()
Borrows instance from container.
void returnInstance(redis.clients.jedis.JedisCommands jedisCommands)
Returns instance to container.
jedisCommands - borrowed instancevoid close()
Release Container.
close in interface AutoCloseableclose in interface CloseableCopyright © 2022 The Apache Software Foundation. All rights reserved.