|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.bucket.LazyBucketProperties
public class LazyBucketProperties
A lazy loading BucketProperties. Defers the RawClient.fetchBucket(java.lang.String)
call until one of the getters is called. See FetchBucket.lazyLoadBucketProperties()
or WriteBucket.lazyLoadBucketProperties()
| Constructor Summary | |
|---|---|
LazyBucketProperties(RawClient client,
Retrier retrier,
String bucket)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LazyBucketProperties(RawClient client,
Retrier retrier,
String bucket)
client - - a RawClient to be used to fetch the bucket propertiesretrier - - the Retrier to usebucketName - - Name of the Riak bucket| Method Detail |
|---|
public Boolean getAllowSiblings()
BucketProperties
getAllowSiblings in interface BucketPropertiesBucketProperties.getAllowSiblings()public Boolean getLastWriteWins()
BucketProperties
getLastWriteWins in interface BucketPropertiesBucketProperties.getLastWriteWins()public Integer getNVal()
BucketProperties
getNVal in interface BucketPropertiesBucketProperties.getNVal()public String getBackend()
BucketProperties
getBackend in interface BucketPropertiesBucketProperties.getBackend()public Integer getSmallVClock()
BucketProperties
getSmallVClock in interface BucketPropertiesBucketProperties.getSmallVClock()public Integer getBigVClock()
BucketProperties
getBigVClock in interface BucketPropertiesBucketProperties.getBigVClock()public Long getYoungVClock()
BucketProperties
getYoungVClock in interface BucketPropertiesBucketProperties.getYoungVClock()public Long getOldVClock()
BucketProperties
getOldVClock in interface BucketPropertiesBucketProperties.getOldVClock()public Collection<NamedFunction> getPrecommitHooks()
BucketProperties
getPrecommitHooks in interface BucketPropertiesBucketProperties.getPrecommitHooks()public Collection<NamedErlangFunction> getPostcommitHooks()
BucketProperties
getPostcommitHooks 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()
BucketProperties
getBasicQuorum in interface BucketPropertiesBucketProperties.getBasicQuorum()public Boolean getNotFoundOK()
BucketProperties
getNotFoundOK in interface BucketPropertiesBucketProperties.getNotFoundOK()public NamedErlangFunction getChashKeyFunction()
BucketProperties
getChashKeyFunction in interface BucketPropertiesBucketProperties.getChashKeyFunction()public NamedErlangFunction getLinkWalkFunction()
BucketProperties
getLinkWalkFunction in interface BucketPropertiesBucketProperties.getLinkWalkFunction()public Boolean getSearch()
BucketProperties
getSearch in interface BucketPropertiesBucketProperties.getSearch()public boolean isSearchEnabled()
BucketProperties
isSearchEnabled in interface BucketPropertiesBucketProperties.isSearchEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||