jetcd

Java client for etcd

Лицензия

Лицензия

Категории

Категории

Сеть jetcd Данные Базы данных
Группа

Группа

net.floatingsun
Идентификатор

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

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

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

0.3.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

jetcd
Java client for etcd
Ссылка на сайт

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

https://github.com/diwakergupta/jetcd
Система контроля версий

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

https://github.com/diwakergupta/jetcd

Скачать jetcd

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

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

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.google.guava : guava jar 18.0
com.squareup.retrofit : converter-jackson jar 1.7.0
org.slf4j : slf4j-api jar 1.7.7
com.squareup.retrofit : retrofit jar 1.7.1

test (2)

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

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

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

jetcd: A Java client for etcd

Build Status

Download

<dependency>
  <groupId>net.floatingsun</groupId>
  <artifactId>jetcd</artifactId>
  <version>0.3.0</version>
</dependency>

Usage

// Connects to "http://127.0.0.1:4001" by default
EtcdClient client = EtcdClientFactory.newInstance();
// Use EtcdClientFactory.newInstance(serverUrl) to override

client.setKey("hello", "world");
client.getKey("hello") // returns "world"
client.deleteKey("hello")

TODO

  • multiple servers with redirect
  • retries and better failure handling
  • better unification of 'getKey' and 'list'
  • support for watch

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

Версия
0.3.1
0.3.0
0.2.0
0.1.0