import org.neo4j.kernel.impl.transaction.log.PhysicalFlushableChannel;
import org.neo4j.kernel.impl.transaction.log.ReadAheadChannel;
import org.neo4j.logging.Log;
import org.neo4j.logging.LogProvider;
import org.neo4j.storageengine.api.ReadPastEndException;
<BUG>import org.neo4j.storageengine.api.WritableChannel;
import static org.neo4j.coreedge.raft.log.EntryRecord.read;
class SegmentFile
{
private static final SegmentHeader.Marshal headerMarshal = new SegmentHeader.Marshal();</BUG>
private final Log log;

import org.neo4j.kernel.impl.transaction.log.PhysicalFlushableChannel;
import org.neo4j.kernel.impl.transaction.log.ReadAheadChannel;
import org.neo4j.logging.Log;
import org.neo4j.logging.LogProvider;
import org.neo4j.storageengine.api.ReadPastEndException;
import org.neo4j.storageengine.api.WritableChannel;
import static java.lang.String.format;
import static org.neo4j.coreedge.raft.log.EntryRecord.read;
class SegmentFile implements AutoCloseable
{
static final String CLOSED_ERROR_MESSAGE = "segment file '%s' is closed";
private static final SegmentHeader.Marshal headerMarshal = new SegmentHeader.Marshal();
private final Log log;
