Package com.basho.riak.client.cap

Examples of com.basho.riak.client.cap.Quorum


     * @param ifNotModified
     *            only store is the vclock supplied on store matches the vclock
     *            in Riak
     */
    public StoreMeta(Integer w, Integer dw, Integer pw, Boolean returnBody, Boolean ifNoneMatch, Boolean ifNotModified) {
        this(null == w ? null : new Quorum(w),
             null == dw ? null : new Quorum(dw),
             null == pw ? null : new Quorum(pw),
             returnBody,
             null,
             ifNoneMatch,
             ifNotModified
            );
View Full Code Here


     *            only store is the vclock supplied on store matches the vclock
     *            in Riak
     */
    public StoreMeta(Integer w, Integer dw, Integer pw, Boolean returnBody, Boolean returnHead, Boolean ifNoneMatch,
                     Boolean ifNotModified) {
        this(null == w ? null : new Quorum(w),
             null == dw ? null : new Quorum(dw),
             null == pw ? null : new Quorum(pw),
             returnBody,
             returnHead,
             ifNoneMatch,
             ifNotModified
        );
View Full Code Here

        public StoreMeta build() {
            return new StoreMeta(w, dw, pw, returnBody, returnHead, ifNoneMatch, ifNotModified);
        }

        public Builder w(int w) {
            this.w = new Quorum(w);
            return this;
        }
View Full Code Here

            this.w = new Quorum(w);
            return this;
        }

        public Builder w(Quora w) {
            this.w = new Quorum(w);
            return this;
        }
View Full Code Here

            this.w = w;
            return this;
        }
       
        public Builder dw(int dw) {
            this.dw = new Quorum(dw);
            return this;
        }
View Full Code Here

            this.dw = new Quorum(dw);
            return this;
        }

        public Builder dw(Quora dw) {
            this.dw = new Quorum(dw);
            return this;
        }
View Full Code Here

            this.dw = dw;
            return this;
        }
       
        public Builder pw(int pw) {
            this.pw = new Quorum(pw);
            return this;
        }
View Full Code Here

            this.pw = new Quorum(pw);
            return this;
        }

        public Builder pw(Quora pw) {
            this.pw = new Quorum(pw);
            return this;
        }
View Full Code Here

     * @param pw
     * @param rw
     * @param vclock
     */
    public DeleteMeta(Integer r, Integer pr, Integer w, Integer dw, Integer pw, Integer rw, VClock vclock) {
        this( null == r ? null : new Quorum(r),
              null == pr ? null : new Quorum(pr),
              null == w ? null : new Quorum(w),
              null == dw ? null : new Quorum(dw),
              null == pw ? null : new Quorum(pw),
              null == rw ? null : new Quorum(rw),
              vclock
            );
       
        }
View Full Code Here

        public DeleteMeta build() {
            return new DeleteMeta(r, pr, w, dw, pw, rw, vclock);
        }

        public Builder r(int r) {
            this.r = new Quorum(r);
            return this;
        }
View Full Code Here

TOP

Related Classes of com.basho.riak.client.cap.Quorum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.