Package ch.qos.logback.core.recovery
Class ResilientOutputStreamBase
- java.lang.Object
-
- java.io.OutputStream
-
- ch.qos.logback.core.recovery.ResilientOutputStreamBase
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
ResilientFileOutputStream,ResilientSyslogOutputStream
@Deprecated(since="2022-01-27") public abstract class ResilientOutputStreamBase extends OutputStream
Deprecated.
-
-
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(IOException e)Deprecated.voidsetContext(Context context)Deprecated.voidwrite(byte[] b, int off, int len)Deprecated.voidwrite(int b)Deprecated.-
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
-
-
-
Method Detail
-
write
public void write(byte[] b, int off, int len)Deprecated.- Overrides:
writein classOutputStream
-
write
public void write(int b)
Deprecated.- Specified by:
writein classOutputStream
-
flush
public void flush()
Deprecated.- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
postIOFailure
public void postIOFailure(IOException e)
Deprecated.
-
close
public void close() throws IOExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
addStatus
public void addStatus(Status status)
Deprecated.
-
getContext
public Context getContext()
Deprecated.
-
setContext
public void setContext(Context context)
Deprecated.
-
-