All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.lettuce.core.api.StatefulRedisConnectionExtensions.kt Maven / Gradle / Ivy

Go to download

Advanced and thread-safe Java Redis client for synchronous, asynchronous, and reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs and much more.

The newest version!
package io.lettuce.core.api

import io.lettuce.core.ExperimentalLettuceCoroutinesApi
import io.lettuce.core.api.coroutines.RedisCoroutinesCommands
import io.lettuce.core.api.coroutines.RedisCoroutinesCommandsImpl

/**
 * Extension for [StatefulRedisConnection] to create [RedisCoroutinesCommands]
 *
 * @author Mikhael Sokolov
 * @author Mark Paluch
 * @since 6.0
 */
@ExperimentalLettuceCoroutinesApi
fun  StatefulRedisConnection.coroutines(): RedisCoroutinesCommands = RedisCoroutinesCommandsImpl(reactive())




© 2015 - 2025 Weber Informatics LLC | Privacy Policy