Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Apache ZooKeeper Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Apache ZooKeeper Essentials

Apache ZooKeeper Essentials

By : Haloi
4.3 (4)
close
close
Apache ZooKeeper Essentials

Apache ZooKeeper Essentials

4.3 (4)
By: Haloi

Overview of this book

Whether you are a novice to ZooKeeper or already have some experience, you will be able to master the concepts of ZooKeeper and its usage with ease. This book assumes you to have some prior knowledge of distributed systems and high-level programming knowledge of C, Java, or Python, but no experience with Apache ZooKeeper is required.
Table of Contents (9 chapters)
close
close
4
4. Performing Common Distributed System Tasks
8
Index

Using the Java client library

The ZooKeeper Java bindings for the development of applications are mainly composed of two Java packages:

  • org.apache.zookeeper
  • org.apache.zookeeper.data

The package org.apache.zookeeper is composed of the interface definition for ZooKeeper watches and various callback handlers of ZooKeeper. It defines the main class of the ZooKeeper client library along with many static definitions of the ZooKeeper event types and states. The org.apache.zookeeper.data package defines the characteristics associated with the data registers, also known as znodes, such as Access Control Lists (ACL), IDs, stats, and so on.

The org.apache.zookeeper.server, org.apache.zookeeper.server.quorum, and org.apache.zookeeper.server.upgrade packages in the ZooKeeper Java APIs are part of the server implementation. The package org.apache.zookeeper.client defines the class of Four Letter Word, which is used to enquire the state of the ZooKeeper server.

Tip

Refer to Chapter 1, A Crash Course in Apache...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Apache ZooKeeper Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon