Vertx Redis Library

Library for accessing Redis from Vert.x applications

Лицензия

Лицензия

Категории

Категории

Redis Данные Базы данных
Группа

Группа

com.groupon.vertx
Идентификатор

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

vertx-redis
Последняя версия

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

3.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Vertx Redis Library
Library for accessing Redis from Vert.x applications
Ссылка на сайт

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

https://github.com/groupon/vertx-redis
Система контроля версий

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

https://github.com/groupon/vertx-redis

Скачать vertx-redis

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

<!-- https://jarcasting.com/artifacts/com.groupon.vertx/vertx-redis/ -->
<dependency>
    <groupId>com.groupon.vertx</groupId>
    <artifactId>vertx-redis</artifactId>
    <version>3.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.groupon.vertx/vertx-redis/
implementation 'com.groupon.vertx:vertx-redis:3.1.1'
// https://jarcasting.com/artifacts/com.groupon.vertx/vertx-redis/
implementation ("com.groupon.vertx:vertx-redis:3.1.1")
'com.groupon.vertx:vertx-redis:jar:3.1.1'
<dependency org="com.groupon.vertx" name="vertx-redis" rev="3.1.1">
  <artifact name="vertx-redis" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.groupon.vertx', module='vertx-redis', version='3.1.1')
)
libraryDependencies += "com.groupon.vertx" % "vertx-redis" % "3.1.1"
[com.groupon.vertx/vertx-redis "3.1.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.fasterxml.jackson.core : jackson-databind jar 2.9.10.1
io.netty : netty-buffer jar 4.1.15.Final
io.netty : netty-codec-http jar 4.1.15.Final

provided (2)

Идентификатор библиотеки Тип Версия
io.vertx : vertx-core jar 3.5.4
com.groupon.vertx : vertx-utils jar 3.5.0

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13
org.mockito : mockito-core jar 3.2.4
org.hamcrest : hamcrest-core jar 1.3

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

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

vert.x-redis

License: Apache 2 Travis Build Maven Artifact

This is an async library for sending commands to Redis.

Usage

Configuration for Redis Verticle:

{
    "redisConfig": {
        "host": "some-redis-server",
        "port": 6379,
        "eventBusAddress": "address_where_redis_handler_is_registered"
    }
}

Setting up a client and calling a simple get:

    RedisClient redisClient = new RedisClient(eventBus, "addresss_where_redis_handler_is_registered", timeout);
    Future<JsonObject> result = redisClient.get("key");

The JsonObject in the future result will be in a Jsend format. In the case of the get call above it will be similar to:

{
    "status": "success",
    "data": {
        "key": "value"
    }
}

Results in the data block will vary based on the Redis method being called.

Building

Prerequisites:

Building:

vertx-redis> mvn verify

To use the local version you must first install it locally:

vertx-redis> mvn install

You can determine the version of the local build from the pom file. Using the local version is intended only for testing or development.

License

Published under Apache Software License 2.0, see LICENSE

© Groupon Inc., 2014

com.groupon.vertx

Groupon

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

Версия
3.1.1
3.1.0
3.0.1