public class BucketProperties extends Object
Constructor and Description |
---|
BucketProperties() |
public void init(com.basho.riak.protobuf.RiakPB.RpbGetBucketResp resp)
public Boolean getAllowMult()
public Integer getNValue()
public BucketProperties allowMult(boolean val)
public BucketProperties nValue(int val)
public Boolean getLastWriteWins()
public BucketProperties lastWriteWins(Boolean lastWriteWins)
lastWriteWins
- the lastWriteWins to setpublic List<CommitHook> getPrecommitHooks()
public BucketProperties precommitHooks(List<CommitHook> precommitHooks)
precommitHooks
- the precommitHooks to setpublic List<CommitHook> getPostcommitHooks()
public BucketProperties postcommitHooks(List<CommitHook> postcommitHooks)
postcommitHooks
- the postcommitHooks to setpublic ModuleFunction getcHashFun()
public BucketProperties cHashFun(ModuleFunction cHashFun)
cHashFun
- the cHashFun to setpublic ModuleFunction getLinkFun()
public BucketProperties linkFun(ModuleFunction linkFun)
linkFun
- the linkFun to setpublic Integer getPr()
public BucketProperties pr(Integer pr)
pr
- the pr to setpublic Integer getR()
public BucketProperties r(Integer r)
r
- the r to setpublic Integer getW()
public BucketProperties w(Integer w)
w
- the w to setpublic Integer getPw()
public BucketProperties pw(Integer pw)
pw
- the pw to setpublic Integer getDw()
public BucketProperties dw(Integer dw)
dw
- the dw to setpublic Integer getRw()
public BucketProperties rw(Integer rw)
rw
- the rw to setpublic Boolean getBasicQuorum()
public BucketProperties basicQuorum(Boolean basicQuorum)
basicQuorum
- the basicQuorum to setpublic Boolean getNotFoundOk()
public BucketProperties notFoundOk(Boolean notFoundOk)
notFoundOk
- the notFoundOk to setpublic Boolean getSearchEnabled()
public BucketProperties searchEnabled(Boolean searchEnabled)
public String getBackend()
public BucketProperties backend(String backend)
backend
- public Long getYoungVClock()
public BucketProperties youngVClock(Long youngVClock)
public Long getOldVClock()
public BucketProperties oldVclock(Long oldVClock)
public Integer getSmallVClock()
public BucketProperties smallVClock(Integer smallVClock)
public Integer getBigVClock()
public BucketProperties bigVClock(Integer bigVClock)
Copyright © 2013. All Rights Reserved.