|
Connection Manager 3.6.3 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.RevolvingFileStrategy
public class RevolvingFileStrategy
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 | |
|---|---|
RevolvingFileStrategy(java.lang.String baseFileName,
int maxCount)
|
|
| 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 RevolvingFileStrategy(java.lang.String baseFileName,
int maxCount)
| Method Detail |
|---|
public java.io.File currentFile()
FileStrategy
currentFile in interface FileStrategypublic java.io.File nextFile()
nextFile in interface FileStrategy
|
Connection Manager 3.6.3 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||