- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/justinsb/jetcd
- 官方下载: https://github.com/justinsb/jetcd
软件介绍
Jetcd 是 etcd 的简单 Java 客户端开发包。etcd 是 CoreOS 中的高可用 Key/Value 存储和
示例代码:
EtcdClient client = new EtcdClient(URI.create("http://127.0.0.1:4001/")); String key = "/watch"; EtcdResult result = this.client.set(key, "hello"); Assert.assertEquals("hello", result.value); result = this.client.get(key); Assert.assertEquals("hello", result.value); ListenableFuture<EtcdResult> watchFuture = this.client.watch(key, result.index + 1); Assert.assertFalse(watchFuture.isDone()); result = this.client.set(key, "world"); Assert.assertEquals("world", result.value); EtcdResult watchResult = watchFuture.get(100, TimeUnit.MILLISECONDS); Assert.assertNotNull(result); Assert.assertEquals("world", result.value);
C Primer Plus
Stephen Prata、云巅工作室 / 云巅工作室 / 人民邮电出版社 / 2005-2-1 / 60.00元
《C Primer Plus(第5版)(中文版)》共17章。第1、2章学习C语言编程所需的预备知识。第3到15章介绍了C语言的相关知识,包括数据类型、格式化输入输出、运算符、表达式、流程控制语句、函数、数组和指针、字符串操作、内存管理、位操作等等,知识内容都针对C99标准;另外,第10章强化了对指针的讨论,第12章引入了动态内存分配的概念,这些内容更加适合读者的需求。第16章和第17章讨论了C预处......一起来看看 《C Primer Plus》 这本书的介绍吧!