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 void
addStatus(Status status)
Deprecated.void
close()
Deprecated.void
flush()
Deprecated.Context
getContext()
Deprecated.void
postIOFailure(IOException e)
Deprecated.void
setContext(Context context)
Deprecated.void
write(byte[] b, int off, int len)
Deprecated.void
write(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:
write
in classOutputStream
-
write
public void write(int b)
Deprecated.- Specified by:
write
in classOutputStream
-
flush
public void flush()
Deprecated.- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
postIOFailure
public void postIOFailure(IOException e)
Deprecated.
-
close
public void close() throws IOException
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
addStatus
public void addStatus(Status status)
Deprecated.
-
getContext
public Context getContext()
Deprecated.
-
setContext
public void setContext(Context context)
Deprecated.
-
-