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 AutoCloseable
close
in interface Closeable
Copyright © 2019 The Apache Software Foundation. All rights reserved.