public interface JedisCommandsInstanceContainer extends Closeable
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()
void returnInstance(redis.clients.jedis.JedisCommands jedisCommands)
jedisCommands
- borrowed instancevoid close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2023 The Apache Software Foundation. All rights reserved.