Example usage for Java org.springframework.data.redis.core RedisConnectionUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
RedisConnection | bindConnection(RedisConnectionFactory factory) Binds a new Redis connection (from the given factory) to the current thread, if none is already bound. |
RedisConnection | getConnection(RedisConnectionFactory factory) Gets a Redis connection from the given factory. |
void | releaseConnection(@Nullable RedisConnection conn, RedisConnectionFactory factory) Closes the given connection, created via the given factory if not managed externally (i.e. |
void | unbindConnection(RedisConnectionFactory factory) Unbinds and closes the connection (if any) associated with the given factory. |