Class SequentialWriter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.SequentialWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class SequentialWriter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOG_WRITER_BUF_SIZE_PROP
-
Constructor Summary
Constructors Constructor Description SequentialWriter(File messagesFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected CloseablegetDelegate()voidwrite(LogMessageInfo messageInfo)
-
-
-
Field Detail
-
LOG_WRITER_BUF_SIZE_PROP
public static final String LOG_WRITER_BUF_SIZE_PROP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SequentialWriter
public SequentialWriter(@NotNull File messagesFile)
-
-
Method Detail
-
getDelegate
protected Closeable getDelegate()
-
write
public void write(@NotNull LogMessageInfo messageInfo) throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-