Package com.basho.riak.client.cap

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


            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

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

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

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

    public FetchMeta(Integer r, Integer pr, Boolean notFoundOK, Boolean basicQuorum, Boolean headOnly,
            Boolean returnDeletedVClock, Date ifModifiedSince, VClock ifModifiedVClock, Integer timeout) {
       
        // A lot of the old code depends on r and pr being returned as null if
        // they aren't set / passed in as null
        this( (null == r ? null : new Quorum(r)),
              (null == pr ? null : new Quorum(pr)),
              notFoundOK,
              basicQuorum,
              headOnly,
              returnDeletedVClock,
              ifModifiedSince,
View Full Code Here

        public FetchMeta build() {
            return new FetchMeta(r, pr, notFoundOK, basicQuorum, headOnly, returnDeletedVClock, modifiedSince, vclock, timeout);
        }

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

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

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

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

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

        public Builder pr(Quora pr) {
            this.pr = new Quorum(pr);
            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.