|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.utils.ConsistencyCheck.KeyFetchTracker
protected static class ConsistencyCheck.KeyFetchTracker
A class to track what keys have been fetched and what keys will not appear any more. It is used to detect keys that will not show up any more so that existing versions can be processed.
Constructor Summary | |
---|---|
ConsistencyCheck.KeyFetchTracker(java.lang.Integer fetcherCount)
|
Method Summary | |
---|---|
void |
finishAll()
mark all keys appeared as finished So that they are all in the finished keys queue |
ByteArray |
nextFinished()
Get a key that are completed in fetching |
void |
recordFetch(ConsistencyCheck.ClusterNode clusterNode,
ByteArray key)
Record a fetched result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsistencyCheck.KeyFetchTracker(java.lang.Integer fetcherCount)
Method Detail |
---|
public void recordFetch(ConsistencyCheck.ClusterNode clusterNode, ByteArray key)
clusterNode
- The clusterNode from which the key has been
fetchedkey
- The key itselfpublic void finishAll()
public ByteArray nextFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |