public class UpdateLog.RecentUpdates extends Object implements Closeable
Constructor and Description |
---|
RecentUpdates(Deque<TransactionLog> logList) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Set<Long> |
getBufferUpdates() |
List<Object> |
getDeleteByQuery(long afterVersion)
Returns the list of deleteByQueries that happened after the given version
|
long |
getMaxRecentVersion() |
List<Long> |
getVersions(int n) |
List<Long> |
getVersions(int n,
long maxVersion) |
Object |
lookup(long version) |
public RecentUpdates(Deque<TransactionLog> logList)
public Object lookup(long version)
public List<Object> getDeleteByQuery(long afterVersion)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public long getMaxRecentVersion()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.