all examples for ZooKeeper recipes by Curator
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src upgrade curator version and fix deprecated warnings Apr 13, 2016
.gitignore
LICENSE
README.md
pom.xml

README.md

ZKRecipesByExample

all examples for ZooKeeper recipes by Curator.

Build Status

本项目供了Curator全面的例子, 演示了Curator在项目中的应用,全面的介绍了ZooKeeper的Recipe的实现, 以及CuratorFramework的基本用法。 每个章节都是独立的, 你可以挑选感兴趣的章节阅读,方便在需要的时候查找。 欢迎在评论中提供意见和建议以及内容的错误,我会及时的更新。 以下是各章节的汇总。

leader选举

Leader latch

Leader Election

分布式锁

可重入锁Shared Reentrant Lock

不可重入锁Shared Lock

可重入读写锁Shared Reentrant Read Write Lock

信号量Shared Semaphore

多锁对象 Multi Shared Lock

Barriers

栅栏Barrier

双栅栏Double Barrier

计数器Counters

Shared Counter

Distributed Atomic Long

缓存Caches

Path Cache

Node Cache

Tree Cache

临时节点

队列Queues

Distributed Queue

Distributed Id Queue

Distributed Priority Queue

Distributed Delay Queue

Simple Distributed Queue

Curator框架应用

框架介绍

操作方法

事务

Curator扩展库