Class IndexFileWriter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.IndexFileWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class IndexFileWriter extends Object implements Closeable
- See Also:
IndexFileReader
-
-
Constructor Summary
Constructors Constructor Description IndexFileWriter(File indexFile)IndexFileWriter(File indexFile, boolean supportsAttrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidinsert(IndexRecordNew record)voidinsert(LogMessageInfo info, long offset)
-
-
-
Constructor Detail
-
IndexFileWriter
public IndexFileWriter(@NotNull File indexFile) throws FileNotFoundException- Throws:
FileNotFoundException
-
IndexFileWriter
public IndexFileWriter(@NotNull File indexFile, boolean supportsAttrs) throws FileNotFoundException- Throws:
FileNotFoundException
-
-
Method Detail
-
insert
public void insert(@NotNull LogMessageInfo info, long offset) throws IOException- Throws:
IOException
-
insert
public void insert(@NotNull IndexRecordNew record) throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-