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 © 2019 The Apache Software Foundation. All Rights Reserved.