def lock_holders(path, zk_hosts, identifier=None, max_concurrency=1, timeout=None, ephemeral_lease=False):
 zk = _get_zk_conn(zk_hosts)
 if (path not in SEMAPHORE_MAP):
  SEMAPHORE_MAP[path] = _Semaphore(zk, path, identifier, max_leases=max_concurrency, ephemeral_lease=ephemeral_lease)
 return SEMAPHORE_MAP[path].lease_holders()

def lock_holders ( path , zk_hosts , identifier = None , max_concurrency = 1 , timeout = None , ephemeral_lease = False ) : zk = _get_zk_conn ( zk_hosts ) if ( path not in SEMAPHORE_MAP ) : SEMAPHORE_MAP [ path ] = _Semaphore ( zk , path , identifier , max_leases = max_concurrency , ephemeral_lease = ephemeral_lease ) return SEMAPHORE_MAP [ path ] . lease_holders ( )
return an un-ordered list of lock holders path the path in zookeeper where the lock is zk_hosts zookeeper connect string identifier name to identify this minion .