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
- Direct Known Subclasses:
- ResilientFileOutputStream, ResilientSyslogOutputStream
public abstract class ResilientOutputStreamBase
- extends java.io.OutputStream
Field Summary |
protected java.io.OutputStream |
os
|
protected boolean |
presumedClean
|
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
os
protected java.io.OutputStream os
presumedClean
protected boolean presumedClean
ResilientOutputStreamBase
public ResilientOutputStreamBase()
write
public void write(byte[] b,
int off,
int len)
- Overrides:
write
in class java.io.OutputStream
write
public void write(int b)
- Specified by:
write
in class java.io.OutputStream
flush
public void flush()
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
addStatus
public void addStatus(Status status)
getContext
public Context getContext()
setContext
public void setContext(Context context)
Copyright © 2005-2011 QOS.ch. All Rights Reserved.