That's great Patrick, thanks! On Wed, Feb 24, 2010 at 12:23 PM, Patrick Hunt <ph...@apache.org> wrote:
> I marked it for 3.4.0, that ok with you? We are all hunkered down at this > point trying to wrap everything up for the 3/10 3.3.0 deadline. I marked > 3.4.0 (should come out relatively soon after 3.3.0, 3/4 months say) so that > we have enough time to vet it before exposing potential users (which makes > it more difficult for example to make changes to the API). > > Patrick > > > Aaron Crow wrote: > >> Thanks Patrick. I submitted a patch: >> https://issues.apache.org/jira/browse/ZOOKEEPER-679 >> >> Looking forward to any feedback... >> >> All the best, >> Aaron >> >> >> On Thu, Feb 18, 2010 at 9:48 AM, Patrick Hunt <ph...@apache.org> wrote: >> >> Originally the c/java apis "grew up as sibilings" so there wasn't much >>> attempt to make the java very OO friendly. What you are suggesting makes >>> sense, and my personal thought is that if done correctly could "graduate" >>> to >>> main at some point (prolly as a complement to the current api, but lets >>> start with contrib and see where it goes from there). >>> >>> >>> Regards, >>> >>> Patrick >>> >>> Aaron Crow wrote: >>> >>> Hi Patrick, >>>> >>>> Thanks! I took a look at zkclient. Since, as you say, it's not very well >>>> documented, I'm not 100% clear on the goals of the project. However, I >>>> did >>>> see that ZooKeeper nodes are described with (String)path throughout, so >>>> that >>>> tells me that zkclient hasn't adopted the first-class "Node" design I'm >>>> proposing. I think, if the "Node" design was found useful by people AND >>>> the >>>> same people found zkclient useful, there would be some integration >>>> possibilities so that the two could work hand-in-hand. >>>> >>>> Thanks again for your reply, and thanks in advance for any further >>>> guidance >>>> or thoughts... >>>> >>>> >>>> All the best, >>>> Aaron >>>> >>>> >>>> On Tue, Feb 16, 2010 at 11:30 AM, Patrick Hunt <ph...@apache.org> >>>> wrote: >>>> >>>> This sounds pretty useful as a contrib, ff to submit a patch >>>> >>>>> http://bit.ly/bgYpW5 . Be sure to include README type details on >>>>> semantics >>>>> of use (I don't see watches so this might be pretty simple). >>>>> >>>>> Also see: http://bit.ly/bhcpwx a few ZK users are using this now >>>>> afaict. >>>>> However last I checked docs were thin and there def. were some issues >>>>> with >>>>> the semantics. >>>>> >>>>> Regards, >>>>> >>>>> Patrick >>>>> >>>>> >>>>> Aaron Crow wrote: >>>>> >>>>> Dear ZooKeepers, >>>>> >>>>>> We recently integrated ZooKeeper into our Java project at work. This >>>>>> is >>>>>> a >>>>>> very cool project... I feel like a kid with a new toy. After using the >>>>>> Java >>>>>> API a little, I've begun to create some simple wrappers around the >>>>>> main >>>>>> ZooKeeper object. >>>>>> >>>>>> Specifically, I'm creating a simple Node design, that makes it simpler >>>>>> and >>>>>> more convenient for me to do simple management of my ZooKeeper node >>>>>> state. >>>>>> Just as a rough idea: >>>>>> >>>>>> Node node = myZk.getNode(path); >>>>>> if(node.exists()){ >>>>>> String data = node.getData(); >>>>>> Collection<Node> children = node.getChildren(); >>>>>> node.delete(); >>>>>> } >>>>>> >>>>>> I was wondering... am I re-inventing the wheel here (did I miss any >>>>>> existing >>>>>> API like this)? Or if not, would the community have any interest if I >>>>>> wanted >>>>>> to add this into the main project? >>>>>> >>>>>> Many thanks in advance for any insights or guidance... >>>>>> >>>>>> >>>>>> All the best, >>>>>> Aaron >>>>>> >>>>>> >>>>>> >>>>>> >>