java.lang.Object
java.io.OutputStream
ch.qos.logback.core.recovery.ResilientOutputStreamBase
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Direct Known Subclasses:
ResilientFileOutputStream
,ResilientSyslogOutputStream
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecoveryListener
(RecoveryListener listener) void
void
close()
void
flush()
void
void
removeRecoveryListener
(RecoveryListener listener) void
setContext
(Context context) void
write
(byte[] b, int off, int len) void
write
(int b) Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
os
-
presumedClean
-
-
Constructor Details
-
ResilientOutputStreamBase
public ResilientOutputStreamBase()
-
-
Method Details
-
addRecoveryListener
-
removeRecoveryListener
-
write
- Overrides:
write
in classOutputStream
-
write
- Specified by:
write
in classOutputStream
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
postIOFailure
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
addStatus
-
getContext
-
setContext
-