org.apache.solr.update
Class VersionInfo
java.lang.Object
org.apache.solr.update.VersionInfo
public class VersionInfo
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_FIELD
public static final String VERSION_FIELD
- See Also:
- Constant Field Values
VersionInfo
public VersionInfo(UpdateHandler updateHandler,
int nBuckets)
getVersionField
public SchemaField getVersionField()
lockForUpdate
public void lockForUpdate()
unlockForUpdate
public void unlockForUpdate()
blockUpdates
public void blockUpdates()
unblockUpdates
public void unblockUpdates()
getNewClock
public long getNewClock()
getOldClock
public long getOldClock()
updateClock
public void updateClock(long clock)
bucket
public VersionBucket bucket(int hash)
lookupVersion
public Long lookupVersion(BytesRef idBytes)
getVersionFromIndex
public Long getVersionFromIndex(BytesRef idBytes)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.