| |
|
| java.lang.Object com.versant.core.jdo.RollingFile
RollingFile | public class RollingFile (Code) | | File that rolls over to backups at a configurable max size. Parts of this
file have been cut and pasted from org.apache.log4j.RollingFileAppender.
|
Inner Class :public static class CountingOutputStream extends OutputStream | |
getMaxBackupIndex | public int getMaxBackupIndex()(Code) | | |
getMaxSize | public long getMaxSize()(Code) | | |
isAppend | public boolean isAppend()(Code) | | |
isRolloverRequired | public boolean isRolloverRequired()(Code) | | Is a rollover required? This should be called after writes to out. We
cannot rollover automatically as out will typically be wrapped by
other streams.
|
open | public void open() throws IOException(Code) | | Open our file. This will close any existing file.
|
rollover | public void rollover() throws IOException(Code) | | Perform a rollover to a new file.
|
setAppend | public void setAppend(boolean append)(Code) | | |
setMaxBackupIndex | public void setMaxBackupIndex(int maxBackupIndex)(Code) | | |
setMaxSize | public void setMaxSize(long maxSize)(Code) | | |
|
|
|