Redisson Kotlin Coroutines Reactive

A wrapper for Redisson Reactive API to use in kotlin coroutines

Лицензия

Лицензия

Категории

Категории

Kotlin Языки программирования Redis Данные Базы данных React Взаимодействие с пользователем Веб-фреймворки Redisson
Группа

Группа

com.github.vitalyros
Идентификатор

Идентификатор

redisson-kotlin-coroutines-reactive
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Redisson Kotlin Coroutines Reactive
A wrapper for Redisson Reactive API to use in kotlin coroutines
Ссылка на сайт

Ссылка на сайт

https://github.com/vitalyros/redisson-kotlin-coroutines
Система контроля версий

Система контроля версий

https://github.com/vitalyros/redisson-kotlin-coroutines.git

Скачать redisson-kotlin-coroutines-reactive

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.vitalyros/redisson-kotlin-coroutines-reactive/ -->
<dependency>
    <groupId>com.github.vitalyros</groupId>
    <artifactId>redisson-kotlin-coroutines-reactive</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.vitalyros/redisson-kotlin-coroutines-reactive/
implementation 'com.github.vitalyros:redisson-kotlin-coroutines-reactive:0.0.1'
// https://jarcasting.com/artifacts/com.github.vitalyros/redisson-kotlin-coroutines-reactive/
implementation ("com.github.vitalyros:redisson-kotlin-coroutines-reactive:0.0.1")
'com.github.vitalyros:redisson-kotlin-coroutines-reactive:jar:0.0.1'
<dependency org="com.github.vitalyros" name="redisson-kotlin-coroutines-reactive" rev="0.0.1">
  <artifact name="redisson-kotlin-coroutines-reactive" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.vitalyros', module='redisson-kotlin-coroutines-reactive', version='0.0.1')
)
libraryDependencies += "com.github.vitalyros" % "redisson-kotlin-coroutines-reactive" % "0.0.1"
[com.github.vitalyros/redisson-kotlin-coroutines-reactive "0.0.1"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.20
org.jetbrains.kotlin : kotlin-reflect jar 1.4.20
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.4.1
org.jetbrains.kotlinx : kotlinx-coroutines-reactive jar 1.4.1
org.redisson : redisson jar 3.13.6

test (2)

Идентификатор библиотеки Тип Версия
org.assertj : assertj-core jar 3.11.1
junit : junit jar 4.13.1

Модули Проекта

Данный проект не имеет модулей.

redisson-kotlin-coroutines

A wrapper for Redisson Reactive API to use in kotlin coroutines

Usage

  1. Use your build tool to link the dependency

maven:

<dependency>
     <groupId>com.github.vitalyros</groupId>
     <artifactId>redisson-kotlin-coroutines-reactive</artifactId>
     <version>0.0.1</version>
</dependency>

gradle:

compile group: 'com.github.vitalyros', name: 'redisson-kotlin-coroutines-reactive', version: '0.0.1'
  1. Import the coroutines extension function and use it to create the RedissonCoroutinesClient api from the RedissonReactiveClient api. The api can be used in coroutines and is non-blocking.
import org.vitalyros.redisson.kotlin.coroutines.RedissonCoroutinesClient
import org.vitalyros.redisson.kotlin.coroutines
...
val redisson: RedissonCoroutinesClient = Redisson.createReactive().coroutines()
...
runBlocking {
    val bucket = redisson.getBucket<String>("test")
    bucket.set("someValue")
    val result = bucket.get()
}

Goals

  • Adopt Redisson API for kotlin coroutines
  • Implement the API by wrapping Reactive Implementation
  • Test by adopting existing Redisson tests

Implemented API Checklist

  • Keys
  • Bucket
  • Buckets
  • IdGenerator
  • Semaphore
  • PermitExpirableSemaphore
  • Lock
  • ReadWriteLock
  • List
  • Map
  • Set
  • ScoredSortedSet
  • LexSortedSet
  • ListMultimap
  • SetMultimap
  • Topic
  • ReliableTopic
  • PatternTopic
  • Queue
  • RingBuffer
  • BlockingQueue
  • BlockingDeque
  • TransferQueue
  • Deque
  • AtomicLong
  • AtomicDouble
  • Remote
  • Script
  • Transaction
  • NodesGroup
  • Batch
  • SetCache
  • MapCache
  • HyperLogLog
  • CountDownLatch
  • Stream
  • BinaryStream
  • TimeSeries
  • Geo

Версии библиотеки

Версия
0.0.1