public interface RedisCommandsInstanceContainer extends Closeable
Interfaces for containers which stores instances implementing RedisCommands.
Modifier and Type | Method and Description |
---|---|
RedisCommands |
getInstance()
Borrows instance from container.
|
void |
returnInstance(RedisCommands redisCommands)
Returns instance to container.
|
RedisCommands getInstance()
Borrows instance from container.
void returnInstance(RedisCommands redisCommands)
Returns instance to container.
redisCommands
- borrowed instanceCopyright © 2022 The Apache Software Foundation. All rights reserved.