Package org.apache.solr.update
Class UpdateLog.RecentUpdates
- java.lang.Object
- 
- org.apache.solr.update.UpdateLog.RecentUpdates
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 - Enclosing class:
- UpdateLog
 
 public class UpdateLog.RecentUpdates extends Object implements Closeable 
- 
- 
Field SummaryFields Modifier and Type Field Description List<UpdateLog.Update>deleteByQueryListList<UpdateLog.DeleteUpdate>deleteList
 - 
Constructor SummaryConstructors Constructor Description RecentUpdates(Deque<TransactionLog> logList)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Set<Long>getBufferUpdates()List<Object>getDeleteByQuery(long afterVersion, LongSet updateVersions)Returns the list of deleteByQueries that happened after the given versionlonggetMaxRecentVersion()List<Long>getVersions(int n)List<Long>getVersions(int n, long maxVersion)Objectlookup(long version)
 
- 
- 
- 
Field Detail- 
deleteByQueryListpublic List<UpdateLog.Update> deleteByQueryList 
 - 
deleteListpublic List<UpdateLog.DeleteUpdate> deleteList 
 
- 
 - 
Constructor Detail- 
RecentUpdatespublic RecentUpdates(Deque<TransactionLog> logList) 
 
- 
 - 
Method Detail- 
lookuppublic Object lookup(long version) 
 - 
getDeleteByQuerypublic List<Object> getDeleteByQuery(long afterVersion, LongSet updateVersions) Returns the list of deleteByQueries that happened after the given version
 - 
closepublic void close() - Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
 
 - 
getMaxRecentVersionpublic long getMaxRecentVersion() 
 
- 
 
-