org.iq80.leveldb.impl.LogWriter Maven / Gradle / Ivy
package org.iq80.leveldb.impl;
import org.iq80.leveldb.util.Slice;
import java.io.File;
import java.io.IOException;
public interface LogWriter
{
boolean isClosed();
void close()
throws IOException;
void delete()
throws IOException;
File getFile();
long getFileNumber();
// Writes a stream of chunks such that no chunk is split across a block boundary
void addRecord(Slice record, boolean force)
throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy