Download zookeeper samples Free Java Code
Description
Sample code for a presentation on ZooKeeper.
Source Files
The download file zookeeper-samples-master.zip has the following entries.
.gitignore/* ww w .java2s . com*/
README
etc/examples-libs/curator-client-2.0.0-incubating.jar
etc/examples-libs/curator-framework-2.0.0-incubating.jar
etc/examples-libs/curator-recipes-2.0.0-incubating.jar
etc/examples-libs/guava-14.0.1.jar
etc/examples-libs/log4j-1.2.15.jar
etc/examples-libs/slf4j-api-1.6.1.jar
etc/examples-libs/slf4j-log4j12-1.6.1.jar
etc/examples-libs/zookeeper-3.4.5.jar
etc/groups-example/async-list-group.sh
etc/groups-example/create-group.sh
etc/groups-example/delete-group.sh
etc/groups-example/find-joined-groups.sh
etc/groups-example/join-group.sh
etc/groups-example/kill-all-joined-groups.sh
etc/groups-example/kill-joined-group.sh
etc/groups-example/list-group.sh
etc/groups-example/multi-join-group.sh
etc/locks-example/curator-lock-watcher.sh
etc/locks-example/lock-watcher.sh
etc/locks-example/run-blocking-worker.sh
etc/locks-example/run-bunch-of-workers.sh
etc/locks-example/run-curator-worker.sh
etc/locks-example/run-curator-workers-timeout.sh
etc/locks-example/run-curator-workers.sh
etc/locks-example/run-dist-op-worker.sh
etc/locks-example/run-worker.sh
etc/locks-example/sample-lock-watcher.sh
etc/locks-example/zookeeper.out
etc/running-zooinspector.txt
pom.xml
src/main/java/com/nearinfinity/examples/zookeeper/confservice/ActiveKeyValueStore.java
src/main/java/com/nearinfinity/examples/zookeeper/confservice/ConfigUpdater.java
src/main/java/com/nearinfinity/examples/zookeeper/confservice/ConfigWatcher.java
src/main/java/com/nearinfinity/examples/zookeeper/group/AsyncListGroup.java
src/main/java/com/nearinfinity/examples/zookeeper/group/CreateGroup.java
src/main/java/com/nearinfinity/examples/zookeeper/group/DeleteGroup.java
src/main/java/com/nearinfinity/examples/zookeeper/group/GroupMembershipIterable.java
src/main/java/com/nearinfinity/examples/zookeeper/group/JoinGroup.java
src/main/java/com/nearinfinity/examples/zookeeper/group/ListGroup.java
src/main/java/com/nearinfinity/examples/zookeeper/group/ListGroupForever.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/BlockingWriteLock.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/CuratorWorker.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/DistributedOperation.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/DistributedOperationException.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/DistributedOperationExecutor.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/DistributedOperationResult.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/LockWatcher.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/Worker.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/WorkerUsingBlockingWriteLock.java
src/main/java/com/nearinfinity/examples/zookeeper/lock/WorkerUsingDistributedOperation.java
src/main/java/com/nearinfinity/examples/zookeeper/misc/ConnectingExample.java
src/main/java/com/nearinfinity/examples/zookeeper/misc/TransactionExample.java
src/main/java/com/nearinfinity/examples/zookeeper/util/ConnectionHelper.java
src/main/java/com/nearinfinity/examples/zookeeper/util/ConnectionWatcher.java
src/main/java/com/nearinfinity/examples/zookeeper/util/RandomAmountOfWork.java
src/main/java/org/apache/zookeeper/recipes/lock/LockListener.java
src/main/java/org/apache/zookeeper/recipes/lock/ProtocolSupport.java
src/main/java/org/apache/zookeeper/recipes/lock/WriteLock.java
src/main/java/org/apache/zookeeper/recipes/lock/ZNodeName.java
src/main/java/org/apache/zookeeper/recipes/lock/ZooKeeperOperation.java
src/main/resources/log4j.xml
src/test/java/com/nearinfinity/examples/zookeeper/lock/BlockingWriteLockTest.java
src/test/java/com/nearinfinity/examples/zookeeper/lock/DistributedOperationExecutorTest.java
src/test/java/com/nearinfinity/examples/zookeeper/util/ConnectionHelperTest.java
src/test/java/com/nearinfinity/examples/zookeeper/util/EmbeddedZooKeeperServer.java
Download
Click the following link to download zookeeper-samples-master.zip.
zookeeper-samples-master.zip