Package com.yahoo.documentapi
Class ProgressToken.BucketEntry
- java.lang.Object
-
- com.yahoo.documentapi.ProgressToken.BucketEntry
-
- Enclosing class:
- ProgressToken
public static class ProgressToken.BucketEntry extends Object
When a bucket has its state kept by the progress token, we need to discern between active buckets (i.e. those that have been returned byVisitorIterator.getNext()
but have not yet been update()'d) and pending buckets (i.e. those that have been update()'d and may be returned by getNext() at some point)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.document.BucketId
getProgress()
ProgressToken.BucketState
getState()
void
setProgress(com.yahoo.document.BucketId progress)
void
setState(ProgressToken.BucketState state)
-
-
-
Method Detail
-
getProgress
public com.yahoo.document.BucketId getProgress()
-
setProgress
public void setProgress(com.yahoo.document.BucketId progress)
-
getState
public ProgressToken.BucketState getState()
-
setState
public void setState(ProgressToken.BucketState state)
-
-