Sha256: 088f6b731cdbd493c74f256226fe7b8e8cb276ab897d800806ef5ce1251442c0

Contents?: true

Size: 955 Bytes

Versions: 22

Compression:

Stored size: 955 Bytes

Contents

zookeeper

An interface to the Zookeeper distributed configuration server.

== License

Copyright 2008 Phillip Pearson, and 2010 Twitter, Inc. Licensed under the
MIT License.  See the included LICENSE file.  Portions copyright 2008-2010
the Apache Software Foundation, licensed under the Apache 2 license, and
used with permission.

== Install

sudo gem install zookeeper

== Usage

Connect to a server:

  require 'rubygems'
  require 'zookeeper'
  z = Zookeeper.new("localhost:2181")
  z.get_children(:path => "/")

== Idioms

  The following methods are initially supported:
    get
    set
    get_children
    stat
    create
    delete
    get_acl
    set_acl

  All support async callbacks.  get, get_children and stat support both
  watchers and callbacks.

  Calls take a dictionary of parameters.  With the exception of set_acl, the
  only required parameter is :path.  Each call returns a dictionary with at
  minimum two keys :req_id and :rc.

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
slyphon-zookeeper-0.2.4-java README
slyphon-zookeeper-0.2.4 README
slyphon-zookeeper-0.2.3 README
slyphon-zookeeper-0.2.3-java README
slyphon-zookeeper-0.2.1-java README
slyphon-zookeeper-0.2.1 README
slyphon-zookeeper-0.2.0-java README
slyphon-zookeeper-0.2.0 README
slyphon-zookeeper-0.1.7 README
slyphon-zookeeper-0.1.7-java README
slyphon-zookeeper-0.1.6 README
slyphon-zookeeper-0.1.6-java README
zookeeper-0.4.4 README
slyphon-zookeeper-0.1.4 README
slyphon-zookeeper-0.1.4-java README
slyphon-zookeeper-0.1.0 README
slyphon-zookeeper-0.1.0-java README
zookeeper-0.4.3 README
zookeeper-0.4.2 README
zookeeper-0.4.1 README