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
-
-
Constructor Summary
Constructors Constructor Description RecentUpdates(Deque<TransactionLog> logList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Set<Long>
getBufferUpdates()
List<Object>
getDeleteByQuery(long afterVersion)
Returns the list of deleteByQueries that happened after the given versionlong
getMaxRecentVersion()
List<Long>
getVersions(int n)
List<Long>
getVersions(int n, long maxVersion)
Object
lookup(long version)
-
-
-
Constructor Detail
-
RecentUpdates
public RecentUpdates(Deque<TransactionLog> logList)
-
-
Method Detail
-
lookup
public Object lookup(long version)
-
getDeleteByQuery
public List<Object> getDeleteByQuery(long afterVersion)
Returns the list of deleteByQueries that happened after the given version
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getMaxRecentVersion
public long getMaxRecentVersion()
-
-