Constructor and Description |
---|
MMapLogWriter(File file,
long fileNumber) |
Modifier and Type | Method and Description |
---|---|
void |
addRecord(Slice record,
boolean force) |
void |
close() |
void |
delete() |
File |
getFile() |
long |
getFileNumber() |
boolean |
isClosed() |
public MMapLogWriter(File file, long fileNumber) throws IOException
IOException
public void close() throws IOException
close
in interface LogWriter
IOException
public void delete() throws IOException
delete
in interface LogWriter
IOException
public long getFileNumber()
getFileNumber
in interface LogWriter
public void addRecord(Slice record, boolean force) throws IOException
addRecord
in interface LogWriter
IOException
Copyright © 2011–2019. All rights reserved.