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()
BucketPropertiesgetAllowSiblings in interface BucketPropertiesBucketProperties.getAllowSiblings()public Boolean getLastWriteWins()
BucketPropertiesgetLastWriteWins in interface BucketPropertiesBucketProperties.getLastWriteWins()public Integer getNVal()
BucketPropertiesgetNVal in interface BucketPropertiesBucketProperties.getNVal()public String getBackend()
BucketPropertiesgetBackend in interface BucketPropertiesBucketProperties.getBackend()public Integer getSmallVClock()
BucketPropertiesgetSmallVClock in interface BucketPropertiesBucketProperties.getSmallVClock()public Integer getBigVClock()
BucketPropertiesgetBigVClock in interface BucketPropertiesBucketProperties.getBigVClock()public Long getYoungVClock()
BucketPropertiesgetYoungVClock in interface BucketPropertiesBucketProperties.getYoungVClock()public Long getOldVClock()
BucketPropertiesgetOldVClock in interface BucketPropertiesBucketProperties.getOldVClock()public Collection<NamedFunction> getPrecommitHooks()
BucketPropertiesgetPrecommitHooks in interface BucketPropertiesBucketProperties.getPrecommitHooks()public Collection<NamedErlangFunction> getPostcommitHooks()
BucketPropertiesgetPostcommitHooks in interface BucketPropertiesBucketProperties.getPostcommitHooks()public Quorum getR()
BucketPropertiesr quorum for this bucket.getR in interface BucketPropertiesBucketProperties.getR()public Quorum getW()
BucketPropertiesw quorum for this bucket.getW in interface BucketPropertiesBucketProperties.getW()public Quorum getRW()
BucketPropertiesrw quorum for this bucket.getRW in interface BucketPropertiesBucketProperties.getRW()public Quorum getDW()
BucketPropertiesdw quorum for this bucket.getDW in interface BucketPropertiesBucketProperties.getDW()public Quorum getPR()
BucketPropertiespr quorum for this bucket.getPR in interface BucketPropertiesBucketProperties.getPR()public Quorum getPW()
BucketPropertiespw quorum for this bucket.getPW in interface BucketPropertiesBucketProperties.getPW()public Boolean getBasicQuorum()
BucketPropertiesgetBasicQuorum in interface BucketPropertiesBucketProperties.getBasicQuorum()public Boolean getNotFoundOK()
BucketPropertiesgetNotFoundOK in interface BucketPropertiesBucketProperties.getNotFoundOK()public NamedErlangFunction getChashKeyFunction()
BucketPropertiesgetChashKeyFunction in interface BucketPropertiesBucketProperties.getChashKeyFunction()public NamedErlangFunction getLinkWalkFunction()
BucketPropertiesgetLinkWalkFunction in interface BucketPropertiesBucketProperties.getLinkWalkFunction()public Boolean getSearch()
BucketPropertiesgetSearch in interface BucketPropertiesBucketProperties.getSearch()public boolean isSearchEnabled()
BucketPropertiesisSearchEnabled in interface BucketPropertiesBucketProperties.isSearchEnabled()Copyright © 2014. All Rights Reserved.