public class UpdateLog.RecentUpdates extends Object implements Closeable
Constructor and Description |
---|
RecentUpdates(Deque<TransactionLog> logList) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<Object> |
getDeleteByQuery(long afterVersion)
Returns the list of deleteByQueries that happened after the given version
|
int |
getLatestOperation() |
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 int getLatestOperation()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public long getMaxRecentVersion()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.