public class LazyBucketProperties extends Object implements BucketProperties
RawClient.fetchBucket(java.lang.String)
call until one of the getters is called. See FetchBucket.lazyLoadBucketProperties()
or WriteBucket.lazyLoadBucketProperties()
Constructor and Description |
---|
LazyBucketProperties(RawClient client,
Retrier retrier,
String bucket) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowSiblings()
The allow_mult value for the bucket.
|
String |
getBackend()
The backend used by this bucket.
|
Boolean |
getBasicQuorum()
Should a read request return early in some failure cases?
E.g.
|
Integer |
getBigVClock()
the big_vclock property for this bucket.
|
NamedErlangFunction |
getChashKeyFunction()
The chash_keyfun for this bucket.
|
Quorum |
getDW()
The default
dw quorum for this bucket. |
Boolean |
getLastWriteWins()
The last_write_wins value for the bucket.
|
NamedErlangFunction |
getLinkWalkFunction()
The linkwalk_fun for this bucket.
|
Boolean |
getNotFoundOK()
True if a vnode returning notfound for a key increments the r tally.
|
Integer |
getNVal()
This bucket's n_val.
|
Long |
getOldVClock()
the old_vclock property for this bucket.
|
Collection<NamedErlangFunction> |
getPostcommitHooks()
The set of postcommit hooks for this bucket.
|
Quorum |
getPR()
The default
pr quorum for this bucket. |
Collection<NamedFunction> |
getPrecommitHooks()
The set of precommit_hooks for this bucket.
|
Quorum |
getPW()
The default
pw quorum for this bucket. |
Quorum |
getR()
The default
r quorum for this bucket. |
Quorum |
getRW()
The default
rw quorum for this bucket. |
Boolean |
getSearch()
The search property
|
Integer |
getSmallVClock()
the small_vclock property for this bucket.
|
Quorum |
getW()
The default
w quorum for this bucket. |
Long |
getYoungVClock()
The young_vclcok property for this bucket.
|
boolean |
isSearchEnabled()
Is search enabled on this bucket
|
public Boolean getAllowSiblings()
BucketProperties
getAllowSiblings
in interface BucketProperties
BucketProperties.getAllowSiblings()
public Boolean getLastWriteWins()
BucketProperties
getLastWriteWins
in interface BucketProperties
BucketProperties.getLastWriteWins()
public Integer getNVal()
BucketProperties
getNVal
in interface BucketProperties
BucketProperties.getNVal()
public String getBackend()
BucketProperties
getBackend
in interface BucketProperties
BucketProperties.getBackend()
public Integer getSmallVClock()
BucketProperties
getSmallVClock
in interface BucketProperties
BucketProperties.getSmallVClock()
public Integer getBigVClock()
BucketProperties
getBigVClock
in interface BucketProperties
BucketProperties.getBigVClock()
public Long getYoungVClock()
BucketProperties
getYoungVClock
in interface BucketProperties
BucketProperties.getYoungVClock()
public Long getOldVClock()
BucketProperties
getOldVClock
in interface BucketProperties
BucketProperties.getOldVClock()
public Collection<NamedFunction> getPrecommitHooks()
BucketProperties
getPrecommitHooks
in interface BucketProperties
BucketProperties.getPrecommitHooks()
public Collection<NamedErlangFunction> getPostcommitHooks()
BucketProperties
getPostcommitHooks
in interface BucketProperties
BucketProperties.getPostcommitHooks()
public Quorum getR()
BucketProperties
r
quorum for this bucket.getR
in interface BucketProperties
BucketProperties.getR()
public Quorum getW()
BucketProperties
w
quorum for this bucket.getW
in interface BucketProperties
BucketProperties.getW()
public Quorum getRW()
BucketProperties
rw
quorum for this bucket.getRW
in interface BucketProperties
BucketProperties.getRW()
public Quorum getDW()
BucketProperties
dw
quorum for this bucket.getDW
in interface BucketProperties
BucketProperties.getDW()
public Quorum getPR()
BucketProperties
pr
quorum for this bucket.getPR
in interface BucketProperties
BucketProperties.getPR()
public Quorum getPW()
BucketProperties
pw
quorum for this bucket.getPW
in interface BucketProperties
BucketProperties.getPW()
public Boolean getBasicQuorum()
BucketProperties
getBasicQuorum
in interface BucketProperties
BucketProperties.getBasicQuorum()
public Boolean getNotFoundOK()
BucketProperties
getNotFoundOK
in interface BucketProperties
BucketProperties.getNotFoundOK()
public NamedErlangFunction getChashKeyFunction()
BucketProperties
getChashKeyFunction
in interface BucketProperties
BucketProperties.getChashKeyFunction()
public NamedErlangFunction getLinkWalkFunction()
BucketProperties
getLinkWalkFunction
in interface BucketProperties
BucketProperties.getLinkWalkFunction()
public Boolean getSearch()
BucketProperties
getSearch
in interface BucketProperties
BucketProperties.getSearch()
public boolean isSearchEnabled()
BucketProperties
isSearchEnabled
in interface BucketProperties
BucketProperties.isSearchEnabled()
Copyright © 2014. All Rights Reserved.