Package ch.qos.logback.core.net
Class AutoFlushingObjectWriter
- java.lang.Object
-
- ch.qos.logback.core.net.AutoFlushingObjectWriter
-
- All Implemented Interfaces:
ObjectWriter
@Deprecated(since="2022-01-27") public class AutoFlushingObjectWriter extends java.lang.Object implements ObjectWriter
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Automatically flushes the underlyingObjectOutputStreamimmediately after calling it'sObjectOutputStream.writeObject(Object)method.
-
-
Constructor Summary
Constructors Constructor Description AutoFlushingObjectWriter(java.io.ObjectOutputStream objectOutputStream, int resetFrequency)Deprecated.Creates a new instance for the givenObjectOutputStream.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidwrite(java.lang.Object object)Deprecated.Writes an object to an output.
-
-
-
Constructor Detail
-
AutoFlushingObjectWriter
public AutoFlushingObjectWriter(java.io.ObjectOutputStream objectOutputStream, int resetFrequency)Deprecated.Creates a new instance for the givenObjectOutputStream.- Parameters:
objectOutputStream- the stream to write toresetFrequency- the frequency with which the given stream will be automatically reset to prevent a memory leak
-
-
Method Detail
-
write
public void write(java.lang.Object object) throws java.io.IOExceptionDeprecated.Description copied from interface:ObjectWriterWrites an object to an output.- Specified by:
writein interfaceObjectWriter- Parameters:
object- theObjectto write- Throws:
java.io.IOException- in case input/output fails, details are defined by the implementation
-
-