Skip to main content

Examples

This module contains example usages of various Curator features. Each directory in the module is a separate example.

DirectoryDescription
leaderExample leader selector code
cacheExample CuratorCache usage
lockingExample of using InterProcessMutex
discoveryExample usage of the Curator's ServiceDiscovery
frameworkA few examples of how to use the CuratorFramework class
asyncExample AsyncCuratorFramework code
modeledModeledFramework and Modeled Cache examples

See the examples source repo for each example.