com.basho.riak.client.bucket
Class TunableCAPProps
java.lang.Object
com.basho.riak.client.bucket.TunableCAPProps
public class TunableCAPProps
- extends Object
Parameter wrapper class for the growing number of tunable CAP knobs on Riak
- Author:
- russell
TunableCAPProps
public TunableCAPProps(Quorum r,
Quorum w,
Quorum dw,
Quorum rw,
Quorum pr,
Quorum pw,
Boolean basicQuorum,
Boolean notFoundOK)
- Create an instance to wrap the given set of CAP properties
- Parameters:
r
- w
- dw
- rw
- pr
- pw
- basicQuorum
- notFoundOK
- - See Also:
for meaning of these properties
getR
public Quorum getR()
getW
public Quorum getW()
getRW
public Quorum getRW()
getDW
public Quorum getDW()
getPR
public Quorum getPR()
getPW
public Quorum getPW()
getBasicQuorum
public Boolean getBasicQuorum()
getNotFoundOK
public Boolean getNotFoundOK()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.