delight-async-properties

Async Properties is a Java library to store and retrieve properties in an asynchronous manner.

Лицензия

Лицензия

GPL
Группа

Группа

org.javadelight
Идентификатор

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

delight-async-properties
Последняя версия

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

0.0.5
Дата

Дата

Тип

Тип

bundle
Описание

Описание

delight-async-properties
Async Properties is a Java library to store and retrieve properties in an asynchronous manner.
Ссылка на сайт

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

https://github.com/javadelight/delight-async-properties
Система контроля версий

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

https://github.com/javadelight/delight-async-properties

Скачать delight-async-properties

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.javadelight : delight-factories jar 0.0.3
org.javadelight : delight-json jar 0.0.5
org.javadelight : delight-concurrency jar 0.0.6
org.javadelight : delight-scheduler jar 0.0.3
org.javadelight : delight-promise jar 0.0.3
org.eclipse.xtend : org.eclipse.xtend.lib.gwt jar 2.13.0

provided (1)

Идентификатор библиотеки Тип Версия
com.google.gwt : gwt-user jar 2.8.2

test (1)

Идентификатор библиотеки Тип Версия
com.github.oehme.xtend : xtend-junit jar 0.0.1

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

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

Build Status

delight-async-properties

Async Properties is a Java library to store and retrieve properties in an asynchronous manner.

Usage

Storing Properties

Properties are set using the record(operation) method. All operations are performed asynchronously.

PropertyNode props = Properties.create(Properties.defaultFactory());

props.record(Properties.set("key", "value"));

props.stop().get();

Retrieving Properties

Properties can be retrieved using the retrieve(key) method. retrieve(key) returns a Promise which must be resolved using .get().

PropertyNode props = Properties.create(Properties.defaultFactory());

props.record(Properties.set("key", "value"));

System.out.println(props.retrieve("key").get());

props.stop().get();

Rendering All Properties

Renders all properties in a human-readable JSON representation.

PropertyNode props = Properties.create(Properties.defaultFactory());

props.record(Properties.set("key", "value"));

System.out.println(props.render().get());

props.stop().get();

Maven Dependency

<dependency>
    <groupId>de.mxro.async.properties</groupId>
	<artifactId>async-properties</artifactId>
	<version>[latest version]</version>
</dependency>

This artifact is available on Maven Central and BinTray.

Maven Central

Compatibility

This project is compatible with the following environments:

  • Java 1.6+
  • GWT 2.5.0+
  • Android (any)
  • OSGi (any)

Further Resources

Documentation Status

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

Версия
0.0.5