public class TransactionChecksumLookup extends Object implements org.neo4j.function.primitive.FunctionFromPrimitiveLongToPrimitiveLong<IOException>
LogicalTransactionStore.getMetadataFor(long).
The exception to that is when there are no transaction logs for the database, for example after a migration
and we're looking up the checksum for transaction the migration was performed at. In that case we have to
extract that checksum directly from TransactionIdStore, since it's not in any transaction log,
at least not at the time of writing this class.| Constructor and Description |
|---|
TransactionChecksumLookup(org.neo4j.kernel.impl.transaction.log.TransactionIdStore transactionIdStore,
org.neo4j.kernel.impl.transaction.log.LogicalTransactionStore logicalTransactionStore) |
public TransactionChecksumLookup(org.neo4j.kernel.impl.transaction.log.TransactionIdStore transactionIdStore,
org.neo4j.kernel.impl.transaction.log.LogicalTransactionStore logicalTransactionStore)
public long apply(long txId)
throws IOException
apply in interface org.neo4j.function.primitive.FunctionFromPrimitiveLongToPrimitiveLong<IOException>IOExceptionCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.