Examples of Quorum


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

    /**
     * @param w
     * @return
     */
    public BucketPropertiesBuilder w(Quora w) {
        this.w = new Quorum(w);
        return this;
    }
View Full Code Here

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

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

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

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

    /**
     * @param rw
     * @return
     */
    public BucketPropertiesBuilder rw(Quora rw) {
        this.rw = new Quorum(rw);
        return this;
    }
View Full Code Here

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

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

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

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

    /**
     * @param dw
     * @return
     */
    public BucketPropertiesBuilder dw(Quora dw) {
        this.dw = new Quorum(dw);
        return this;
    }
View Full Code Here

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

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

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

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

    /**
     * @param pr
     * @return
     */
    public BucketPropertiesBuilder pr(Quora pr) {
        this.pr = new Quorum(pr);
        return this;
    }
View Full Code Here

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

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

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

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

    /**
     * @param pw
     * @return
     */
    public BucketPropertiesBuilder pw(Quora pw) {
        this.pw = new Quorum(pw);
        return this;
    }
View Full Code Here

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

    @Override public Quorum deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException,
            JsonProcessingException {
        JsonToken token = jp.getCurrentToken();
        switch (token) {
        case VALUE_STRING: {
            return new Quorum(Quora.fromString(jp.getText()));
        }
        case VALUE_NUMBER_INT: {
            return new Quorum(jp.getIntValue());
        }
        case VALUE_NULL: {
            return null;
        }
        default:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.