Return-Path: X-Original-To: apmail-curator-dev-archive@minotaur.apache.org Delivered-To: apmail-curator-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A818B182A6 for ; Wed, 19 Aug 2015 23:05:47 +0000 (UTC) Received: (qmail 75354 invoked by uid 500); 19 Aug 2015 23:05:47 -0000 Delivered-To: apmail-curator-dev-archive@curator.apache.org Received: (qmail 75311 invoked by uid 500); 19 Aug 2015 23:05:47 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 75298 invoked by uid 99); 19 Aug 2015 23:05:47 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2015 23:05:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BA2F01AA7DD for ; Wed, 19 Aug 2015 23:05:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 1B04j09wRrna for ; Wed, 19 Aug 2015 23:05:45 +0000 (UTC) Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com [209.85.160.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id D843424F45 for ; Wed, 19 Aug 2015 22:56:59 +0000 (UTC) Received: by ykdt205 with SMTP id t205so20990093ykd.1 for ; Wed, 19 Aug 2015 15:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=he5NcrD8CU3fdhxmQI9gTWamgtAnlFoYTlzYuFESDT8=; b=zGAHfAOV+H0/h2fxIqcw857E0h3X0Lzy7fU2OJYUie0GYZh3//vuxQFUcN5DRnJ9px grlfmFkI8TNiP2lxonA+nXutjx58n2HdC4cEWotSqDyZ14f+Q+loLxcbRn9/ngR+wLzm fDhmPq8QpcdTaJcaTonNE6YyYm+YqfCpmm9lVCkQ9EWzQ2JQUjVY07j0opWNfVTvxxNA 08UHLKcWnsvXKaY6rheiJOy85Qv+UOizVU/ML5hHSkD+fmlRFFWEXeuB5t4dXWOK3+Nn coAvd1oN4CmVDXcb7YQeas0qDDxekW3ipTWf2Q+IXlFP/StgPdHzUnkN45+CjpGeGNge sdPg== MIME-Version: 1.0 X-Received: by 10.129.131.84 with SMTP id t81mr16696506ywf.97.1440025018930; Wed, 19 Aug 2015 15:56:58 -0700 (PDT) Received: by 10.37.47.214 with HTTP; Wed, 19 Aug 2015 15:56:58 -0700 (PDT) Date: Thu, 20 Aug 2015 08:56:58 +1000 Message-ID: Subject: CURATOR-214 From: Cameron McKenzie To: "dev@curator.apache.org" Content-Type: multipart/alternative; boundary=94eb2c07d1e2b89a01051db1f379 --94eb2c07d1e2b89a01051db1f379 Content-Type: text/plain; charset=UTF-8 Guys, CURATOR-214 is about exposing the new API in ZK to allow returning a Stat when creating a new zNode. I'm looking at the fluent interface for this and was looking for some opinions of you guys. I was going to use the Statable interface, so the calls would be something like: client.create().storingStatIn(stat).forPath("/bla"); Just wondering about the ordering of the storingStatIn() call. Does it make sense to allow storingStatIn() along with creatingParentsIfNeeded()? If so, presumably we just return the stat of the child node. What other ordering options should be supported? It seems fairly arbitrary at the moment as to what ordering is allowed for different elements. cheers --94eb2c07d1e2b89a01051db1f379--