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