Package ch.qos.logback.core.recovery
Class ResilientOutputStreamBase
- java.lang.Object
-
- java.io.OutputStream
-
- ch.qos.logback.core.recovery.ResilientOutputStreamBase
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Direct Known Subclasses:
ResilientFileOutputStream,ResilientSyslogOutputStream
@Deprecated(since="2022-01-27") public abstract class ResilientOutputStreamBase extends java.io.OutputStreamDeprecated.
-
-
Constructor Summary
Constructors Constructor Description ResilientOutputStreamBase()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddStatus(Status status)Deprecated.voidclose()Deprecated.voidflush()Deprecated.ContextgetContext()Deprecated.voidpostIOFailure(java.io.IOException e)Deprecated.voidsetContext(Context context)Deprecated.voidwrite(byte[] b, int off, int len)Deprecated.voidwrite(int b)Deprecated.
-
-
-
Method Detail
-
write
public void write(byte[] b, int off, int len)Deprecated.- Overrides:
writein classjava.io.OutputStream
-
write
public void write(int b)
Deprecated.- Specified by:
writein classjava.io.OutputStream
-
flush
public void flush()
Deprecated.- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream
-
postIOFailure
public void postIOFailure(java.io.IOException e)
Deprecated.
-
close
public void close() throws java.io.IOExceptionDeprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.OutputStream- Throws:
java.io.IOException
-
addStatus
public void addStatus(Status status)
Deprecated.
-
getContext
public Context getContext()
Deprecated.
-
setContext
public void setContext(Context context)
Deprecated.
-
-