zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: sync()
Date Wed, 31 Aug 2011 17:13:04 GMT
In the c client it's called "zoo_async"

Patrick

On Wed, Aug 31, 2011 at 7:05 AM, nicholas harteau <n@hep.cat> wrote:
>
> There don't seem to be any references to a sync() call in the C bindings, and I assume
that the syncronous vs. asyncronous methods have more to do with threading than 'sync' in
the ZK API sense.
>
> How does one invoke sync() from the C API?
>
> On Aug 30, 2011, at 1:18 PM, Patrick Hunt wrote:
>
>> All reads.
>>
>> On Tue, Aug 30, 2011 at 10:12 AM, Jordan Zimmerman
>> <jzimmerman@netflix.com> wrote:
>>> Thanks - if I understand correctly, this only applies to reads. Is that
>>> reads on data only (getData) or both data and a list of a Znode's children
>>> (getChildren)?
>>>
>>> On 8/30/11 10:07 AM, "Patrick Hunt" <phunt@apache.org> wrote:
>>>
>>>> See this section of the programmers guide:
>>>> http://zookeeper.apache.org/doc/r3.3.3/zookeeperProgrammers.html#ch_zkGuar
>>>> antees
>>>>
>>>> specifically the section "Simultaneously Consistent Cross-Client Views"
>>>>
>>>> Patrick
>>>>
>>>> On Tue, Aug 30, 2011 at 9:52 AM, Jordan Zimmerman
>>>> <jzimmerman@netflix.com> wrote:
>>>>> When/why does sync() need to be called? I've searched the archive and
>>>>> the
>>>>> docs are non-existent. Any examples would be appreciated.
>>>>>
>>>>> -JZ
>>>>>
>>>>>
>>>>
>>>
>>>
>
> --
> n@hep.cat (>^-^)>
>
>
>
>
>

Mime
View raw message