Archaius v2.3.13 发布,Netflix 的配置管理 API

栏目: 软件资讯 · 发布时间: 7年前

内容简介:来自 Netflix 的配置管理 API 项目 Archaius 发布了 2.3.13 版本,该版本只是修改了 Gradle 的构建脚本,没有其他的 Bug 修复或者是改进。 Archaius 是一个统一的配置管理 API,可支持从包括:文件、URLs、JDBC ...

来自 Netflix 的配置管理 API 项目 Archaius 发布了 2.3.13 版本,该版本只是修改了 Gradle 的构建脚本,没有其他的 Bug 修复或者是改进。

Archaius 是一个统一的配置管理 API,可支持从包括:文件、URLs、JDBC 以及 Amazon DynamoDB 在内的配置源中读写配置信息,提供动态类型化属性、线程安全配置操作、轮询框架、回调机制等等功能。

示例代码:

// create a property whose value is type long and use 1000 as the default 
// if the property is not defined
DynamicLongProperty timeToWait = 
  DynamicPropertyFactory.getInstance().getLongProperty("lock.waitTime", 1000);
// ...
ReentrantLock lock = ...;
// ...
// timeToWait.get() returns up-to-date value of the property
lock.tryLock(timeToWait.get(), TimeUnit.MILLISECONDS);

【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Archaius v2.3.13 发布,Netflix 的配置管理 API》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and

George F. Luger、William A Stubblefield / Addison Wesley / 2008-09-04 / USD 22.20

This book is designed for three primary purposes. The first is as a programming language component of a general class in Artificial Intelligence. From this viewpoint, the authors see as essential that......一起来看看 《AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and 》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具