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 String
LOG_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 void
close()
protected Closeable
getDelegate()
void
write(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-