use of org.neo4j.kernel.impl.transaction.log.ArrayIOCursor in project neo4j by neo4j.
the class LegacyLogsTest method readableChannel.
private Pair<LogHeader, IOCursor<LogEntry>> readableChannel(LogEntry[] entries) {
IOCursor<LogEntry> cursor = new ArrayIOCursor<>(entries);
LogHeader logHeader = new LogHeader((byte) 1, 1, 1);
return Pair.of(logHeader, cursor);
}
Aggregations