def __init__(self, zk, zk_path, on_join=None, on_leave=None,
      member_filter=None, member_factory=None):
    def noop(*args, **kwargs): pass
    def true(*args, **kwargs): return True
    self._log = ROOT_LOG.getChild('[%s]' % zk_path)
    self._log.info('TellApart ServerSet intializing on path %s' % zk_path)

    if not isinstance(zk, KazooClient):
      raise TypeError('zk must be an instance of a KazooClient')

    if not zk.connected:
      raise Exception('zk must be in a connected state.')

    self._zk_path = zk_path
    self._zk = zk
    self._nodes = set()
    self._members = {}
    self._on_join = on_join or noop
    self._on_leave = on_leave or noop
    self._notification_queue = Queue(0)
    self._watching = False
    self._cb_blocker = self._CallbackBlocker()
    self._member_filter = member_filter or true
    self._member_factory = member_factory or Member.from_node
    self._running = True
    self._worker = gevent.spawn(self._notification_worker)

    if on_join or on_leave:
      self._monitor()
Set the Snippets value of this General Settings object.
dataset/ETHPy150Open steveniemitz/scales/scales/loadbalancer/zookeeper.py/ServerSet.__init__--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/apps/emailsettings/data.py/EmailSettingsGeneral.SetSnippets