|
Connection Manager 3.4.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.util.log.output.io.rotate.ExpandingFileStrategy
public class ExpandingFileStrategy
strategy for naming log files based on appending revolving suffix.
Heavily odified by Bruce Ritchie (Jive Software) to rotate along the following strategy: current log file will always be the base File name the next oldest file will be the _1 file the next oldest file will be the _2 file etc.
Constructor Summary | |
---|---|
ExpandingFileStrategy(java.lang.String baseFileName)
|
Method Summary | |
---|---|
java.io.File |
currentFile()
Get the current logfile |
java.io.File |
nextFile()
Calculate the real file name from the base filename. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpandingFileStrategy(java.lang.String baseFileName)
Method Detail |
---|
public java.io.File currentFile()
FileStrategy
currentFile
in interface FileStrategy
public java.io.File nextFile()
nextFile
in interface FileStrategy
|
Connection Manager 3.4.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |