All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.iq80.leveldb.impl.LogWriter Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy