Search in sources :

Example 1 with ArrayIOCursor

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);
}
Also used : ArrayIOCursor(org.neo4j.kernel.impl.transaction.log.ArrayIOCursor) LogEntry(org.neo4j.kernel.impl.transaction.log.entry.LogEntry) LogHeader(org.neo4j.kernel.impl.transaction.log.entry.LogHeader)

Aggregations

ArrayIOCursor (org.neo4j.kernel.impl.transaction.log.ArrayIOCursor)1 LogEntry (org.neo4j.kernel.impl.transaction.log.entry.LogEntry)1 LogHeader (org.neo4j.kernel.impl.transaction.log.entry.LogHeader)1